diff --git a/test/listener-audio-attach.test.js b/test/listener-audio-attach.test.js index a8ebc29..2bde8c4 100644 --- a/test/listener-audio-attach.test.js +++ b/test/listener-audio-attach.test.js @@ -1015,6 +1015,47 @@ test('speaker: rapid mesh re-ontracks for same publisher → single chain, no du eq(gainsFeedingDest[0], node.gain, 'and it is the chain gain'); }); +/* =================== AudioContext sinkId routing =================== */ + +test('audioCtx.setSinkId is called on creation so the worklet routes to the user-picked sink (not just system default)', () => { + /* Pre-fix: the page's speaker dropdown only called setSinkId on + *