Re: [meetecho-janus] Talking detection triggered from all publishers

103 views
Skip to first unread message

Mirko Brankovic

unread,
Mar 7, 2021, 8:27:52 AM3/7/21
to meetecho-janus
If you are testing it from same PC/browser tabs, they will share same audio sorce, you microphone, so it makes sense that dBov will be exactly the same.
Have you tried it with 2 different microphones or pc-s? 
By the looks of session/handle/feed ids all look good.

On Fri, Mar 5, 2021, 18:33 Taehyun Park <gold.d...@gmail.com> wrote:
I am using a video room plugin with a talking detection. If there are multiple publishers, the same talking detection event is triggered for each publisher.
{"janus":"event","session_id":4562859900933166,"sender":4546951923715089,"plugindata":{"plugin":"janus.plugin.videoroom","data":{"videoroom":"talking","room":248,"id":7645821653382277,"audio-level-dBov-avg":31.0}}}
{"janus":"event","session_id":8309386915200039,"sender":4039903858713829,"plugindata":{"plugin":"janus.plugin.videoroom","data":{"videoroom":"talking","room":248,"id":7645821653382277,"audio-level-dBov-avg":31.0}}}
{"janus":"event","session_id":4562859900933166,"sender":4546951923715089,"plugindata":{"plugin":"janus.plugin.videoroom","data":{"videoroom":"stopped-talking","room":248,"id":7645821653382277,"audio-level-dBov-avg":56.099998474121094}}}
{"janus":"event","session_id":8309386915200039,"sender":4039903858713829,"plugindata":{"plugin":"janus.plugin.videoroom","data":{"videoroom":"stopped-talking","room":248,"id":7645821653382277,"audio-level-dBov-avg":56.099998474121094}}}

Above is a response from this behavior.
The value of the audio-level-dBov-avg field is same but it is from a different sender and session.
If I add another publisher, the same event is received three times from each publisher. I am not sure why this happens. It looks like each publisher shares one stream. I would really appreciate if you could help me with this problem.
Thank you in advance.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/5228ae34-809c-4881-b879-698edca5fd32n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages