Represents a voice, video call. Used to capture an audio-video stream from the device's microphone and camera for use to make or answer a call.
Create a new StringeeCall2.
It's the unique identifier of the call on Stringee system.
This property is only available on Ios. When you use the StringeeX API, the call can be routed to the client multiple times. This property indicates the number of times the call is being routed.
It's the Caller's identifier.
It's the Caller's alias.
It's the Callee's identifier.
It's the Callee's alias.
It's type of call
Whether the call is a video call:
It's custom data received from other user.
It's resolution of local stream.
It's the unique identifier of the call.
Set listener for StringeeCall2.
Make a call.
Initializes an answer. Must be called before answering a call.
Answers a call.
Terminates a call.
Reject a call.
Sends a DTMF code.
Sends any data to other clients.
Get the call's statistics. If successful return statistics in JSON string.
Switches the device's camera. By default, Stringee SDK uses the front camera.
Enables or disables the local stream.
Toggle audio on or off.
Set the audio output mode. If you want to use the device loudspeaker for playing audio, call the setSpeakerphoneOn(true) method. Otherwise, call the setSpeakerphoneOn(false) method to use headset speaker for playing audio.
This method is only available on Android. When lost local stream then call resumeVideo to resume local stream in Android.
Generate uuid of the call to display callkeep in ios.