You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't delved deep enough to work out the details yet, but Botc.app implements a voice chat over WebRTC.
When the head of the game leaves and rejoins, Vingester starts outputting audio to the system default device, instead of the configured devices for each browser.
I suspect that Vingester may be polling for changes too slow, to redirect the output.
This issue is specifically with the version posted by @steveseguin here: #80
The text was updated successfully, but these errors were encountered:
@ryantheleach Did the change I offer make things worse or better?
If I recall, vingester has a mutation observer set up on the body element, and changes to elements will trigger a configuration setup. This setup includes setting the setSinkId value, which sets the output audio device target.
If your RTC application makes changes to the audio element that either:
changes the setSinkId value
changes the media stream of that audio/video element
then it might be possible no event triggers the mutation observer, so no re-configuration runs.
It might be also possible the configuration only runs once at all, despite a secondary mutation event.
My suggestion to address this might be to add code that listens for loadedmetadata and playing events, and re-run the logic on the video/audio events in this case. It would also make sense to have an interval timer run on top of this, just in case that doesn't work.
I can technically can make this change myself, and release a new build on my github, but I'll give Ralf a chance to respond first and to get confirmation from you.
I haven't delved deep enough to work out the details yet, but Botc.app implements a voice chat over WebRTC.
When the head of the game leaves and rejoins, Vingester starts outputting audio to the system default device, instead of the configured devices for each browser.
I suspect that Vingester may be polling for changes too slow, to redirect the output.
This issue is specifically with the version posted by @steveseguin here:
#80
The text was updated successfully, but these errors were encountered: