Replies: 2 comments 1 reply
-
Hi @dmitry027 It's possible. In the room information callback, if you modify someone's publishStreamId and put ! in front and stop playing, Ant Media Server stops playing it. You can use that logic. You can quickly test it with the multitrack player. |
Beta Was this translation helpful? Give feedback.
-
Hello @mustafaboleken, thank you for the reply. I tried what you suggested, but got "no_stream_exist" error. Could you please provide more details on how to achieve this? Also, can this behavior be initiated from the server side, e.g. through some kind of REST API call? It doesn't seem quite safe to rely on client-side logic here. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am creating a webinar app (js) and want to introduce pause feature which will do the following: when one of the webinar speakers hits "Pause webinar" button, speakers streams hide from the audience and only speakers are able to see streams of each other in the room, until "Resume webinar" button is pressed.
Is there a way to make audience stop receiving speakers streams and restrict access to these streams for some time?
Beta Was this translation helpful? Give feedback.
All reactions