LiveKit Swift Client SDK Documentation

Typealias Should​Configure​Audio​Session​Func

@available(*, deprecated, message: "Moved to AudioManager.ConfigureAudioSessionFunc")
public typealias ShouldConfigureAudioSessionFunc = (_ newState: AudioManager.TrackState,
                                                    _ oldState: AudioManager.TrackState) -> Void

Function type for LiveKit.onShouldConfigureAudioSession.

Parameters

new​State

The new state of audio tracks

old​State

The previous state of audio tracks