Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Join directly on calls or Re-join or establish calls when participant session drops suddenly #356

Open
radyhaggag opened this issue Apr 16, 2024 · 10 comments

Comments

@radyhaggag
Copy link

Is your feature request related to a problem? Please describe.
Yes, sometimes the video call drop suddenly, so we need to re-establish the call again.

Describe the solution you'd like
I want to listen about the action is took to make the session is close or finished, like a participant has Ended the call, or the session time is finished, or finished without any action (This may be suddenly as example, other participant connection lost, no more participants).

Describe alternatives you've considered
If the signal is not end session or not on any actions i listed above [time finished, end call, no participants active], make a listener to enable us to view something like dialog to enable the participant to re-join, or if the network is low and no signal then the internet is working so do the same like (Re-establish, re-join).

@TatankaConCube
Copy link
Contributor

Our SDK provides some helpful callbacks related to your request. there are
void Function(WsException)? onError; and void Function(bool?, int?)? onSlowLink;. The callback onError will fire when the server sends an error package due to some reasons. The callback onSlowLink will fire if some packages between the server and the opponent were lost.

Also as you can see in our sample, we have callbacks onPublishersReceived, onPublisherLeft and we finish the call after the last opponent leaves the call, but you can stay on call if you need it and other users have the possibility to join/left call any time and an unlimited number of times.

Or please describe in more detail what functionality you need.

@radyhaggag
Copy link
Author

other users have the possibility to join/left call any time

How can i do that? i want the opponent to join directly

@radyhaggag
Copy link
Author

@TatankaConCube

@TatankaConCube
Copy link
Contributor

you can use this method any time when you have the _meetingId. You can check it using the join by link feature of our Conference Calls Sample. After finishing the call you can join the same call again by link.

@radyhaggag
Copy link
Author

Okay I will check it, thanks.

@radyhaggag
Copy link
Author

@TatankaConCube , What do you mean by the join by link feature?

i checked the link of the meeting on the sample which consist from the app host and meeting id but no result.

and the join dialog method which you mentioned above not worked with me its just enter the meeting but not started?

@radyhaggag
Copy link
Author

And i have one question also, i want to know if the meeting is closed suddenly not closed by the end call button or the time of the meeting finished, so i want to take an action based on that.

@TatankaConCube
Copy link
Contributor

but not started?

could you please check it today? Yesterday we had some uptades on our server related to the Conference calls.

i want to know if the meeting is closed suddenly

what do you mean? the meeting still alive and you can join it any time

@radyhaggag
Copy link
Author

No when i start a meeting by this way on both sides

  ConferenceClient.instance.createCallSession(cubeUser.id!).then((session) {
    session.joinDialog("66321eee49a28d002e249131", (publishers) async {
      VideoCallNavigationManager.instance.initVideoCallView(
        ConversationsCallViewParams(
          currentUser: cubeUser,
          callSession: session,
          meetingId: "66321eee49a28d002e249131",
          isIncoming: !AppProvider().getIsUserTutorType,
          opponents: [
            AppProvider().getIsUserTutorType ? 11685972 : 11687006
          ],
          callName: cubeUser.fullName ?? "Unknown",
          callerId: (AppProvider().getIsUserTutorType ? 11687006 : 11685972)
              .toString(),
              
        ),
      );
    });
  });

the both entered on the waiting screen they don't enter the meeting directly and no one see the another camera.

and the link like this also "https://www.taaly.nl/meeting_id=65b53d8f29d6c5002fda2e9c"

not open any meetings its just start the app only?

@radyhaggag
Copy link
Author

I want to register all errors which appear on the call session and also i want to know if the meeting is dropped on any user side, i want to know that so i can take an action for re-join as example, i tried many times but no result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants