Skip to main content

Class: DeviceManager

Constructors

new DeviceManager()

new DeviceManager(): DeviceManager

Returns

DeviceManager

Methods

createAudioInput()

static createAudioInput(device?, settings?): Promise<AudioInput>

Creates an AudioInput_old that represents a MediaStream, contains its DeviceInfo and also active odin medias.

Parameters

device?: DeviceParameters

settings?: InputSettings

Returns

Promise<AudioInput>

Defined in

Odin/odin-typescript/lib/utils/device-manager.d.ts:23


getInputDeviceByName()

static getInputDeviceByName(name): Promise<Device>

Parameters

name: string

Returns

Promise<Device>

Defined in

Odin/odin-typescript/lib/utils/device-manager.d.ts:16


getOutputDeviceByName()

static getOutputDeviceByName(name): Promise<Device>

Parameters

name: string

Returns

Promise<Device>

Defined in

Odin/odin-typescript/lib/utils/device-manager.d.ts:17


listAudioInputs()

static listAudioInputs(): Promise<Device[]>

Returns

Promise<Device[]>

Defined in

Odin/odin-typescript/lib/utils/device-manager.d.ts:8


listAudioOutputs()

static listAudioOutputs(): Promise<Device[]>

Returns

Promise<Device[]>

Defined in

Odin/odin-typescript/lib/utils/device-manager.d.ts:9