mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-05 19:59:20 +00:00
@@ -392,9 +392,10 @@ export class MediaDevices {
|
|||||||
public readonly audioOutput: MediaDevice<
|
public readonly audioOutput: MediaDevice<
|
||||||
AudioOutputDeviceLabel,
|
AudioOutputDeviceLabel,
|
||||||
SelectedAudioOutputDevice
|
SelectedAudioOutputDevice
|
||||||
> = getUrlParams().controlledAudioDevices
|
> =
|
||||||
? new ControlledAudioOutput(this.scope)
|
getUrlParams().controlledAudioDevices && platform !== "ios"
|
||||||
: new AudioOutput(this.usingNames$, this.scope);
|
? new ControlledAudioOutput(this.scope)
|
||||||
|
: new AudioOutput(this.usingNames$, this.scope);
|
||||||
|
|
||||||
public readonly videoInput: MediaDevice<DeviceLabel, SelectedDevice> =
|
public readonly videoInput: MediaDevice<DeviceLabel, SelectedDevice> =
|
||||||
new VideoInput(this.usingNames$, this.scope);
|
new VideoInput(this.usingNames$, this.scope);
|
||||||
|
|||||||
Reference in New Issue
Block a user