Skip to main content

@dialstack/sdk-dev / webrtc/src / AudioDevice

Interface: AudioDevice

Defined in: sdk/webrtc/src/types.ts:101

One selectable audio device, as reported by the host.

Properties​

deviceId​

TypeScript
deviceId: string;

Defined in: sdk/webrtc/src/types.ts:103

Opaque, origin-scoped id to pass to setAudioInputDevice / setSinkId.


groupId​

TypeScript
groupId: string;

Defined in: sdk/webrtc/src/types.ts:107

Shared by the input and output halves of one physical device.


isDefault​

TypeScript
isDefault: boolean;

Defined in: sdk/webrtc/src/types.ts:109

True for the entry whose id is literally 'default'.


label​

TypeScript
label: string;

Defined in: sdk/webrtc/src/types.ts:105

Name, or '' when the page has no mic permission yet.