Closed ajay-webdev closed 3 years ago
Hi @ajay-webdev,
Thank you for opening this issue with us.
I have two potential solutions, you can do this from the client side and having participants that are flagged as other
connect to the room, without publishing their video track in the connectOptions
. Like this: connect('$TOKEN', { video: false })
. If they are the host, they connect with video
set to true
.
You can alternatively use the server side API found here to limit subscribers to only one publisher track.
Let me know if this helps!
Best, Joyce
I want to create Video stream and share to other users , I am using plain javascript in browser , I use following code and its working fine
But it is like one on one webcam , where all participants videos are streamed to everyone... How to disable all particpants video stream and enable only host webcam/screenshare.
Thank you.