rename ControlledAudioOutput to iOSControlledAudioOutput
This commit is contained in:
@@ -31,7 +31,7 @@ const EARPIECE_CONFIG_ID = "earpiece-id";
|
||||
* to have more control over the device selection process. This is used when the
|
||||
* `controlledAudioDevices` URL parameter is set, which is currently only true on mobile.
|
||||
*/
|
||||
export class ControlledAudioOutput implements MediaDevice<
|
||||
export class IOSControlledAudioOutput implements MediaDevice<
|
||||
AudioOutputDeviceLabel,
|
||||
SelectedAudioOutputDevice
|
||||
> {
|
||||
@@ -30,7 +30,7 @@ import { platform } from "../Platform";
|
||||
import { switchWhen } from "../utils/observable";
|
||||
import { type Behavior, constant } from "./Behavior";
|
||||
import { AndroidControlledAudioOutput } from "./AndroidControlledAudioOutput.ts";
|
||||
import { ControlledAudioOutput } from "./ControlledAudioOutput.ts";
|
||||
import { IOSControlledAudioOutput } from "./IOSControlledAudioOutput.ts";
|
||||
|
||||
export type DeviceLabel =
|
||||
| { type: "name"; name: string }
|
||||
@@ -376,7 +376,7 @@ export class MediaDevices {
|
||||
getUrlParams().callIntent,
|
||||
window.controls,
|
||||
)
|
||||
: new ControlledAudioOutput(this.usingNames$, this.scope)
|
||||
: new IOSControlledAudioOutput(this.usingNames$, this.scope)
|
||||
: new AudioOutput(this.usingNames$, this.scope);
|
||||
|
||||
public readonly videoInput: MediaDevice<DeviceLabel, SelectedDevice> =
|
||||
|
||||
Reference in New Issue
Block a user