Skip to main content

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

Interface: AudioDevice

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

One selectable audio device, as reported by the host.

Properties

deviceId

TypeScript
deviceId: string;

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

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


groupId

TypeScript
groupId: string;

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

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


isDefault

TypeScript
isDefault: boolean;

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

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


label

TypeScript
label: string;

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

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