Other call features
#
Fetching Participants list with Call StatusIn order to fetch all the participants in the call, use below method
- Dart
- Response
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.attended | the user attended call and UI can be presented with the users in 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.onHold | the remote user has put your call on hold, it will happedn when the remote user attended gsm call |
CallStatus.onResume | the remote user has resumed your call after a on hold, it will happen when the remote user disconnected gsm call |
CallStatus.callTimeout | when we don't receive ack for the outgoing call from the remote user within 30 seconds, When we don't receive ack for the incoming call from the caller within 30 seconds, When we don't receive ack for the call invite from the invited user within 30 seconds |
#
Get GroupId of the current callTo retrieve the group call JID initiated from a group chat during the call, use the following method.
#
Get callType of the current callIn order to get the callType of the ongoing call, use below method
CallType
value will be anyone of the values of annotation class CallType
CallType Value | Description |
---|---|
CallType.audio | the call is Audio |
CallType.video | the call is Video |
#
Get callDirection of the current callIn order to get the callDirection of the ongoing call, use below method
CallDirection
value will be anyone of the values of class CallDirection
CallDirection Value | Description |
---|---|
CallDirection.incoming | the call is a incoming call |
CallDirection.outgoing | the call is an outgoing call |