FS-7513: add code to track media direction to avoid assigning floor or video layers to those with no signal