Mute Audio/Video notification to subscriber

521 views
Skip to first unread message

Rahman Ash

unread,
Aug 2, 2018, 4:28:21 AM8/2/18
to meetecho-janus
Hi

      I have a query on videoroom plugin, if a publisher muted his video by means of a configure request i.e {request:configure,video:true} (not by muting the track ), it works as expected and no video frames were sent to the subscriber who subscribes to the feed. But, the subscriber didn't get any notification about the stopped video relay. is this the intended behaviour or am i missing any events ?
Plz help me with this

Regards
Rahman

Lorenzo Miniero

unread,
Aug 2, 2018, 4:43:26 AM8/2/18
to meetecho-janus
Yes, that's intended, viewers are not notified when publishers decide not to relay media.

Lorenzo

Rahman Ash

unread,
Aug 2, 2018, 5:09:56 AM8/2/18
to meetecho-janus
Lorenzo

       Excuse me but have another query. I can see in videoroom plugin that while muting video, every subscriber of a publisher was looped and stopped sending frames. Sending a notification to the subscriber could have done along with it  but since it is intentional not to do that, why is it so ? and if i write some code to send notification to the subscribers, will it beak any other things in the plugin ?

Thanks

Lorenzo Miniero

unread,
Aug 2, 2018, 9:26:40 AM8/2/18
to meetecho-janus
I can't know if your code will break the plugin. If you do it right, it shouldn't.

Lorenzo

Mirko Brankovic

unread,
Aug 3, 2018, 12:52:35 PM8/3/18
to meetecho-janus
Judt add it to be configurable from vonfig file or room create api and set media_subsvribers_notify param/flag and who needs it will use it :)

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mirko Brankovic

unread,
Aug 3, 2018, 12:53:44 PM8/3/18
to meetecho-janus
Aaah sorry for typo-s  :)

Rahman Ash

unread,
Aug 16, 2018, 10:07:09 AM8/16/18
to meetecho-janus
sorry for the late reply as i didn't saw the message. And, about Subscriber's notification about Publisher's mute status, i decided to handle it in the wrapper layer [written a wrapper around janus ] as i don't want to add mutex lock to the code. But, anyway thanks for the suggestions
Reply all
Reply to author
Forward
0 new messages