Call Features
#
Mute audio in callWhenever you are in the audio/video call, you can able to mute the mic so that receiver don't hear your voice or surrounding noise. In order the use the mute faeture you can utilise the method below:
Argument | Type | Description |
---|---|---|
MUTE_AUDIO | boolean | Pass true , if you want to disable audio else pass false |
#
Mute video in callWhenever you are in the video call, you can able to turn off the camera so that receiver don't see your video. In order the use the video mute faeture you can utilise the method below:
Argument | Type | Description |
---|---|---|
MUTE_VIDEO | boolean | Pass true ,if you want to disable audio else pass false |
#
Check mute status of user in callAt any time in call, you can able to check the audio/video mute status of the end user in call.
#
Check Audio mute statusTo check the audio
muted status, call the below method:
Argument | Type | Description |
---|---|---|
USER_JID | String | UserJid of the user, optional param default Current User JID |
#
Check Video mute statusTo check the video
muted status, call the below method:
Argument | Type | Description |
---|---|---|
USER_JID | String | UserJid of the user, optional param default Current User JID |
#
Audio device typesTo get the Available Audio Devices from Plugin, you can use the below method
Param Names | Description |
---|---|
id | Device ID |
type | Device Type |
name | Device Name |
#
Route audio via another deviceTo route audio to another output device, call the below method and pass the device of your choice.
ROUTE_TYPE | Description |
---|---|
bluetooth | To route Audio to Connected Bluetooth Device |
headset | To route Audio to Connected Headset |
receiver | To route Audio to Device Receiver |
speaker | To route Audio to Device speaker |
Note: whenever you are connected to bluetooth headset while using sdk call, if the gsm call arrives and if you attends it then gsm call will take priority for the bluetooth headset.so, even if you disconnect the gsm call, bluetooth headset will not connect back to the sdk call.
#
Switching between camera in video callWhenever you are in video call, you can able to switch between camera's by using the below method.
#
switch audio call to video callWhenever you are in one to one audio call, you can able to switch to video call by using the below method.
#
Handling audio call to video call switch requestsif the user accepts
call switch then you need to call the below method to notify the call switch requested user.
If the user rejects
call switch then you need to call the below method to notify the call switch requested user.
#
Getting call logs from the sdkCall sdk keeps a local db for storing call logs which inlcudes all types of call logs with required information for the each and every call log. you can able to retrieve the call logs by using the below sdk method.
Argument | Type | Description |
---|---|---|
PAGE_NUMBER | Int | number of the page |
Note : To get a call logs of respective page, pass the page number
pageNumber
parameter.
#
Observing call logs changes from the sdkIn order to observe the call log changes in sdk, you can set the below listener.
Whenever a call log is updated in the db you will get notified by the onCallLogsUpdated()
callback.