Interface: AudioSession
Defined in: Calls.types.ts:181
Snapshot of the current audio session, including activation state, route, and (on iOS) the WebRTC RTCAudioSession coordination flags.
Properties
isActive
isActive: boolean;Defined in: Calls.types.ts:182
rtcSessionIsActive?
optional rtcSessionIsActive?: boolean;Defined in: Calls.types.ts:184
iOS only: whether the WebRTC RTCAudioSession is active.
avSessionIsActive?
optional avSessionIsActive?: boolean;Defined in: Calls.types.ts:186
iOS only: whether the AVAudioSession is active.
isAudioEnabled?
optional isAudioEnabled?: boolean;Defined in: Calls.types.ts:188
iOS only: whether the RTCAudioSession audio track is enabled.
useManualAudio?
optional useManualAudio?: boolean;Defined in: Calls.types.ts:190
iOS only: whether manual audio mode is enabled on RTCAudioSession.
isOtherAudioPlaying
isOtherAudioPlaying: boolean;Defined in: Calls.types.ts:191
category
category: string;Defined in: Calls.types.ts:192
mode
mode: string;Defined in: Calls.types.ts:193
categoryOptions?
optional categoryOptions?: string[];Defined in: Calls.types.ts:195
iOS only: AVAudioSession category options.
sampleRate
sampleRate: number;Defined in: Calls.types.ts:196
ioBufferDuration
ioBufferDuration: number;Defined in: Calls.types.ts:197
inputNumberOfChannels
inputNumberOfChannels: number;Defined in: Calls.types.ts:198
outputNumberOfChannels
outputNumberOfChannels: number;Defined in: Calls.types.ts:199
microphonePermission
microphonePermission: PermissionStatus;Defined in: Calls.types.ts:200
currentRoute
currentRoute: AudioRoute;Defined in: Calls.types.ts:201
availableRoutes?
optional availableRoutes?: AudioPort[];Defined in: Calls.types.ts:203
Available audio output devices. Populated on Android; undefined on iOS.