Other call features
Fetching Participants list#
In order to fetch all the participants in the call, use below method
- Java
- Kotlin
Fetching Call Connected list#
To fetch the connected users in the call, use below method
- Java
- Kotlin
Fetching Call Users list in Ringing status#
To fetch the users in the ringing state of the call, use below method
- Java
- Kotlin
Fetching Outgoing call Timeout Users list#
To fetch the userslist who don't ack in the outgoing call after timeout, use below method
- Java
- Kotlin
Fetching Invite call Timeout Users list#
To fetch the userslist who don't ack in the invite call after timeout, use below method
- Java
- Kotlin
Fetching Reconnecting Users list#
To fetch the users in the reconnecting state of the call, use below method
- Java
- Kotlin
Check mute status of user in call#
At any time in call, you can able to check the audio/video mute status of the end user in call.
To check the audio muted status, call the below method:
| Argument | Type | Description |
|---|---|---|
| END_USER_JID | String | jid of the end call user |
- Java
- Kotlin
To check the video muted status, call the below method:
| Argument | Type | Description |
|---|---|---|
| END_USER_JID | String | jid of the end call user |
- Java
- Kotlin
Get Call status of the UserId#
In order to get the call status of the given UserId, use below method
- Java
- Kotlin
| Argument | Type | Description |
|---|---|---|
| END_USER_JID | String | jid of the end call user |
callStatus value will be anyone of the values of annotation class CallStatus.
| callStatus Value | Call event |
|---|---|
| CallStatus.CALLING | the initial state of the call |
| CallStatus.CONNECTING | The current call is in connecting state |
| CallStatus.RINGING | the remote user is having internet and acknowledged the call |
| CallStatus.CONNECTED | the call is successfully connected and audio/video tracks transmission is about to start |
| CallStatus.DISCONNECTED | the call is disconnected and call UI can be closed |
| CallStatus.RECONNECTING | the call is in reconnecting state |
| CallStatus.RECONNECTED | the call is connected back after a reconnecting state |
| CallStatus.ON_HOLD | the remote user has put your call on hold, it will happedn when the remote user attended gsm call |
| CallStatus.ON_RESUME | the remote user has resumed your call after a on hold, it will happen when the remote user disconnected gsm call |
| CallStatus.OUTGOING_CALL_TIME_OUT | when we don't receive ack for the outgoing call from the remote user within 30 seconds |
| CallStatus.INCOMING_CALL_TIME_OUT | When we don't receive ack for the incoming call from the caller within 30 seconds |
| CallStatus.USER_JOINED | user is joined to the call |
| CallStatus.USER_LEFT | user is left from the call |
| CallStatus.INVITE_CALL_TIME_OUT | When we don't receive ack for the call invite from the invited user within 30 seconds |
Get Own userId#
In order to get the own userId which is passed to SDk, use below method
- Java
- Kotlin
Get GroupId of the current call#
In order to get the groupId of the ongoing call, use below method
- Java
- Kotlin
Get callType of the current call#
In order to get the callType of the ongoing call, use below method
- Java
- Kotlin
callType value will be anyone of the values of annotation class CallType
| CallType Value | Description |
|---|---|
| CallType.AUDIO_CALL | the call is Audio |
| CallType.VIDEO_CALL | the call is Video |
Get CallMode of the current call#
In order to get the callMode of the ongoing call, use below method
- Java
- Kotlin
callMode value will be anyone of the values of annotation class CallMode
| CallMode Value | Description |
|---|---|
| CallMode.ONE_TO_ONE | the call is between 2 user |
| CallMode.ONE_TO_MANY | the call is between group of members |
Get CallDirection of the current call#
In order to get the callDirection of the ongoing call, use below method
- Java
- Kotlin
callDirection value will be anyone of the values of annotation class CallDirection
| CallDirection Value | Description |
|---|---|
| CallDirection.INCOMING_CALL | the call is a incoming call |
| CallDirection.OUTGOING_CALL | the call is an outgoing call |
Check Call is Connected#
In order to check the ongoing call is connected with atleast of one user in the call, use below method
- Java
- Kotlin
Check Call is OneToOne#
In order to check the ongoing call is made between single user, use below method
- Java
- Kotlin
Clear Call Log#
To Clear the entire history of the call log corresponding to the current user, use below method.
- Java
- Kotlin
Delete Call Log#
To Delete the selected call log from the call log entry of the current user, use below method.
- Java
- Kotlin
Fetch Call Logs#
This method will Fetch the Call Logs and updates the call log details to the server from the local db.
- Java
- Kotlin
Get current camera position#
To retrieve the current position of the camera, use the following method:
- Java
- Kotlin
Use the CameraPosition enum to determine the currently active camera. It includes the following values:
| Case | Description |
|---|---|
| FrontCamera | The front-facing camera is active. |
| BackCamera | The back-facing camera is active. |