Suggestions

close search

StringeeCall2Listener class

Represents the event from the StringeeCall2.


Constructors


StringeeCall2Listener()

Create a new StringeeCall2Listener.


Methods


onChangeSignalingState?: (stringeeCall2: StringeeCall2, signalingState: SignalingState, reason: string, sipCode: number, sipReason: string) => void

Invoked when the call's signaling state changes.

onChangeMediaState?: (stringeeCall2: StringeeCall2, mediaState: MediaState, description: string) => void

Invoked when the call's media state changes.

onReceiveCallInfo?: (stringeeCall2: StringeeCall2, callInfo: string) => void

Invoked when receive call info.

onReceiveDtmfDigit?: (stringeeCall2: StringeeCall2, dtmf: string) => void

Invoked when the call receives a DTMF.

onHandleOnAnotherDevice?: (stringeeCall2: StringeeCall2, signalingState: SignalingState, description: string) => void

Invoked when an incoming call is handle on another device.

onReceiveLocalTrack?: (stringeeCall2: StringeeCall2, stringeeVideoTrack: StringeeVideoTrack) => void

Invoked when the local track is initialized and available to be rendered to a view..

onReceiveRemoteTrack?: (stringeeCall2: StringeeCall2, stringeeVideoTrack: StringeeVideoTrack) => void

Invoked when the remote track is initialized and available to be rendered to a view.

onTrackMediaStateChange?: (stringeeCall2: StringeeCall2, from: string, mediaType: MediaType, enable: boolean) => void

Invoked when receive track media state change event from other user.

onAudioDeviceChange?: (stringeeCall2: StringeeCall2, selectedAudioDevice: AudioDevice, availableAudioDevices: Array<AudioDevice>) => void

Invoked when the current audio device changes in android.