Whether a participant is publishing, and what to label them.
"Is this person on camera?" is not participant.muted and not the presence of
a stream in your grid — it is whether videoID holds a real producer
reference. MediaSFU writes the string 'none' rather than an empty value when
there is no producer, which is why a naive truthiness check reports everyone
as publishing.
Whether a participant is publishing, and what to label them.
"Is this person on camera?" is not
participant.mutedand not the presence of a stream in your grid — it is whethervideoIDholds a real producer reference. MediaSFU writes the string'none'rather than an empty value when there is no producer, which is why a naive truthiness check reports everyone as publishing.