File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,12 @@ import {
4646import PTWorker from '../../src/packetTrailer/worker/packetTrailer.worker?worker' ;
4747import type { DataTrackFrame } from '../../src/room/data-track/frame' ;
4848import { TrackEvent } from '../../src/room/events' ;
49- import { isSVCCodec , sleep , supportsH265 } from '../../src/room/utils' ;
49+ import {
50+ isSafariSpeakerSelectionSupported ,
51+ isSVCCodec ,
52+ sleep ,
53+ supportsH265 ,
54+ } from '../../src/room/utils' ;
5055
5156setLogLevel ( LogLevel . debug ) ;
5257
@@ -182,6 +187,9 @@ const appActions = {
182187 audioOutput : {
183188 deviceId : audioOutputId ,
184189 } ,
190+ // Route remote audio through AudioContext on iOS 26 so the shared relay element
191+ // handles setSinkId — without this, iOS silently ignores setSinkId on WebRTC tracks.
192+ webAudioMix : isSafariSpeakerSelectionSupported ( ) ,
185193 publishDefaults : {
186194 simulcast,
187195 videoSimulcastLayers : [ VideoPresets . h180 , VideoPresets . h360 ] ,
You can’t perform that action at this time.
0 commit comments