fix(voice): Default to earpiece for voice only call

This commit is contained in:
Valere
2026-06-25 13:03:12 +02:00
parent 3fb81032e0
commit dc5b541b21
3 changed files with 202 additions and 3 deletions

View File

@@ -376,7 +376,11 @@ export class MediaDevices {
getUrlParams().callIntent,
window.controls,
)
: new IOSControlledAudioOutput(this.usingNames$, this.scope)
: new IOSControlledAudioOutput(
this.usingNames$,
this.scope,
getUrlParams().callIntent,
)
: new AudioOutput(this.usingNames$, this.scope);
public readonly videoInput: MediaDevice<DeviceLabel, SelectedDevice> =