While working on audio output device selection feature, I've encountered a
situation with AbortError happening only when I try to setSinkId (
for <video> elements for local media streams. For <video> elements for
remote media streams everything works as expected. For <audio> elements
everything works OK for both local and remote media streams.
It turns out that such error happens only for <video> elements with GUM
video streams without audio tracks. And actually we create such video
stream here -
So, am I right when I say that all audio output in
jitsi-meet/lib-jitsi-meet is done only via <audio> elements? If yes, then
can we just change audio output device by calling setSinkId only for
<audio> elements associated with audio streams and ignore all <video>
elements (both for local and remote streams)?