RTCMultiConnection is a WebRTC JavaScript library for peer-to-peer applications (screen sharing, audio/video conferencing, file sharing, media streaming etc.)
Now I use connection.onNewParticipant. I check if a broadcaster connects to the room, then its stream add to the video session using connection.acceptParticipationRequest. And if connect to the room a viewer, then the connection is canceled. But technically the viewer is connected to the room only does not receive the stream.
Is there a mechanism to disable viewers to joining room of at connection.join level?
Now I use
connection.onNewParticipant
. I check if a broadcaster connects to the room, then its stream add to the video session usingconnection.acceptParticipationRequest
. And if connect to the room a viewer, then the connection is canceled. But technically the viewer is connected to the room only does not receive the stream.Is there a mechanism to disable viewers to joining room of at
connection.join
level?