ConnectyCube / connectycube-flutter-sdk-releases

ConnectyCube Flutter SDK Releases
7 stars 1 forks source link

Is there any expected date for "Monitor session connections state" feature, any time soon? #97

Closed AbdurrehmanSubhani closed 10 months ago

AbdurrehmanSubhani commented 10 months ago

Is your feature request related to a problem? Please describe. Most of the calling applications are required to provide status on the current call session's state i.e Connecting/Connected/Disconnected/Failed .. etc

Describe the solution you'd like A current call session state listener emitting events for the current initiated/accepted call

Additional context This feature is available for all other platforms supported by connectycube, even if the first iteration would support IOS and Android would be huge progress forward for sdk users and would enable us to provide better solutions and experience for users

TatankaConCube commented 10 months ago

We will add this feature for P2P calls soon, in one of the near releases. Thank you for paying attention to it.

TatankaConCube commented 10 months ago

@AbdurrehmanSubhani additionali to this callbacks you can add the RTCSessionStateCallback and listen the next events:

  void onConnectedToUser(T session, int userId);

  void onDisconnectedFromUser(T session, int userId);

  void onConnectionClosedForUser(T session, int userId);

for setting this callback use callSession.setSessionCallbacksListener(listener)

what other callbacks do you need?

TatankaConCube commented 10 months ago

the new version 2.10.0 with the required functionality was published, and the documentation was updated

AbdurrehmanSubhani commented 10 months ago

Awesome, thanks! Really appreciate the quick response and the addition 🚀

Wasif-Sadiq commented 10 months ago

Awesome