Rate this page:

CallManagerConfig

Props

statsCollectionInterval

Copy URL
var statsCollectionInterval: 

Int

This API is in beta and subject to change.

Call statistics collection interval in milliseconds. Default 5000. should be multiple of 500.

Returns

  • type:

    Int

requestAudioFocusMode

Copy URL
var requestAudioFocusMode: 

RequestAudioFocusMode

This API is in beta and subject to change.

Specifies when the audio focus request is performed: when a call is started or established.

RequestAudioFocusMode.RequestOnCallStart by default.

In case of RequestAudioFocusMode.RequestOnCallConnected, SDK requests audio focus and sets audio mode to MODE_IN_COMMUNICATION, when a call is established, i.e. CallListener.onCallConnected is invoked.

In case of RequestAudioFocusMode.RequestOnCallStart, SDK requests audio focus when the call is started, i.e. CallManager.call or Call.answer are called.

If the application plays some audio, it may result in audio interruptions. To avoid this behaviour, this option should be set to RequestAudioFocusMode.RequestOnCallConnected and application's audio should be stopped/paused on CallListener.onStopRinging.

eglBase

Copy URL
var eglBase: 

EglBase?

This API is in beta and subject to change.

Externally created WebRTC EglBase.

Returns

  • type:

    EglBase?