Interface: AudioSession
Defined in: Calls.types.ts:201
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:202
rtcSessionIsActive?
optional rtcSessionIsActive?: boolean;Defined in: Calls.types.ts:204
iOS only: whether the WebRTC RTCAudioSession is active.
avSessionIsActive?
optional avSessionIsActive?: boolean;Defined in: Calls.types.ts:206
iOS only: whether the AVAudioSession is active.
isAudioEnabled?
optional isAudioEnabled?: boolean;Defined in: Calls.types.ts:208
iOS only: whether the RTCAudioSession audio track is enabled.
useManualAudio?
optional useManualAudio?: boolean;Defined in: Calls.types.ts:210
iOS only: whether manual audio mode is enabled on RTCAudioSession.
isOtherAudioPlaying
isOtherAudioPlaying: boolean;Defined in: Calls.types.ts:211
category
category: string;Defined in: Calls.types.ts:212
mode
mode: string;Defined in: Calls.types.ts:213
categoryOptions?
optional categoryOptions?: string[];Defined in: Calls.types.ts:215
iOS only: AVAudioSession category options.
sampleRate
sampleRate: number;Defined in: Calls.types.ts:216
ioBufferDuration
ioBufferDuration: number;Defined in: Calls.types.ts:217
inputNumberOfChannels
inputNumberOfChannels: number;Defined in: Calls.types.ts:218
outputNumberOfChannels
outputNumberOfChannels: number;Defined in: Calls.types.ts:219
microphonePermission
microphonePermission: PermissionStatus;Defined in: Calls.types.ts:220
currentRoute
currentRoute: AudioRoute;Defined in: Calls.types.ts:221
availableRoutes?
optional availableRoutes?: AudioPort[];Defined in: Calls.types.ts:223
Available audio output devices. Populated on Android; undefined on iOS.