Created a helper and rewrote logic to determine if user is sharing audio/video