Open kurapatijayaram opened 3 years ago
One solution is , using MediaStreamTrack we can identify, but, just want to know is there any other way to directly know the status of the stream.
Enable or disable a track is defined in Media Capture and Streams. We don't notify other users who subscribe this track. You may send a message to other users when a track is enabled or disabled.
It would be really helpful if there are methods like "hasAudio", "hasVideo" in subscription object. All other providers are providing such information, which will be helpful to represent in the view.
Thank you.
Hi, I publish a stream with audio and video, but later I disabled the audio/video, other user subscribed the stream and he wants to know the status of the stream whether audio/video enabled or not.
Is there a way to identify ?
Thanks.