Suggestions

close search

StringeeCall2Listener class

Represents the event from the StringeeCall2.


Constructors


StringeeCall2Listener({required this.onChangeSignalingState, required this.onChangeMediaState, required this.onReceiveCallInfo, required this.onHandleOnAnotherDevice,required this.onReceiveLocalStream,required this.onReceiveRemoteStream, this.onAddVideoTrack, this.onRemoveVideoTrack, this.onTrackMediaStateChange, this.onChangeAudioDevice})

Create a new StringeeCall2Listener.


Methods


onChangeSignalingState(StringeeCall2 stringeeCall2, StringeeSignalingState signalingState)void

Invoked when the call's signaling state changes.

onChangeMediaState(StringeeCall2 stringeeCall2, StringeeMediaState mediaState)void

Invoked when the call's media state changes.

onReceiveCallInfo(StringeeCall2 stringeeCall2, Map<dynamic, dynamic> callInfo)void

Invoked when receive call info.

onHandleOnAnotherDevice(StringeeCall2 stringeeCall2, StringeeSignalingState signalingState)void

Invoked when an incoming call is handle on another device.

onReceiveLocalStream(StringeeCall2 stringeeCall2)void

Invoked when local stream in video call is ready to play.

onReceiveRemoteStream(StringeeCall2 stringeeCall2)void

Invoked when remote stream in video call is ready to play.

onAddVideoTrack(StringeeCall2 stringeeCall2, StringeeVideoTrack videoTrack)void

Invoked when new video track added to the call.

onRemoveVideoTrack(StringeeCall2 stringeeCall2, StringeeVideoTrack videoTrack)void

Invoked when video track removed from the call.

onTrackMediaStateChange(StringeeCall2 stringeeCall2, String from, MediaType mediaType, bool enable)void

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

onChangeAudioDevice(StringeeCall2 stringeeCall2, AudioDevice selectedAudioDevice, List<AudioDevice> availableAudioDevices)void

Invoked when the current audio device changes in android.