-
Notifications
You must be signed in to change notification settings - Fork 8
connect, join room Issue. #108
Comments
Hi @mq-iz, thanks for filling an issue. We need more info in order to help you.
|
I am currently using the membrane video room URL (https://videoroom.membrane.work/).
|
The scenario is working fine for debug builds but for release build connect, join(), disconnect being used from useMembraneServer don't work on first click or as intended. |
I have hardcode the serverURL address in videoroomcontext file, I don't think that can be the issue, if it is, do tell me cause i might be wrong. |
This code looks nearly identical to our example and we built a release app from the example that connects to |
You can close this issue, I have built a separate build by moving out the video call module from my app, but the release build was working fine in a separate project, so I don't know what might be causing my app to not work when I copy the module. Here is the GitHub link to test repo, https://github.com/MuhammadQasim1122/VideoCall-Invochat |
I confused how which socket endpoint should I connect to. |
Hi, @chanphiromsok connecting to https://videoroom.membrane.work/socket, should work fine and the video stream is camera recording or screen recording, if it's a screen recording, are you running that on iOS or Android?
serverConnected is the log after await connect finishes and Muhammad Qasim sadasd===== is the log before the await connect function. |
I start use android but I want connect to JellyFish server not videostream |
@chanphiromsok If it's a React native app, connecting to the server can be done by connect() function, and join room is used to return the participants in the room and their states, video stream is managed by other functions useROOMparticiapants, and others so just using connect can work I guess, although I am having a hard time understanding a use case where you would need to only connect to membrane server. |
@graszka22 just for information, the same code of mine is working perfectly fine on iOS build, but it is specifically an issued with android release build, any insight would be extremely helpful. |
I have dig dive into source code of JellyFish it has 2 Socket server That's why I don't understand which Socket should I connect to 🤔 |
@chanphiromsok We're currently working on dedicated mobile client sdks for Jellyfish, for React Native it will be this one: https://github.com/jellyfish-dev/react-native-client-sdk. It's work in progress and we started it this week so you won't be able to test it out yet and there are no docs yet. @MuhammadQasim1122 I'll try to check out your project, as far as I understand you have 2 problems:
|
Hi @graszka22 , it seems there been a misunderstanding, the point one is correct, second point is expected scenarios,
Here is the log of the server, can you tell me what might be casuing this ignoring warning, as this shouldn't be the case, when the videocall connects perfectly. |
I thought it suppose to be work with JellyFish Server right now now thanks you |
@MuhammadQasim1122 I checked out your project. In
|
|
@MuhammadQasim1122 sorry, now you've completely lost me 😅 So please again:
|
Hah sorry for the confusion, I will provide a repo let me just put out some code, the issue was technically with the join room not working. My observation was that await joinroom() isn't being run but while connecting to the server it ends up opening the camera and doesn't stop until app is killed, I am attaching a video that might clarify some more. The join call button is from where the call starts (it's the same as app provided in github repo). |
@graszka22 Hi, I figured out the issue, my project was using kotlin version 1.5.20 upgrading it to 1.7.21, fixed all those issues, and there wasn't anything wrong with the code. |
Glad to hear it :) Since the issue is solved, I'm closing it |
I have implemented my own code using your example app but in debug build the await connect and await join room functions are working perfectly okay but when I generate the release build, the connect and join room function doesn't behave as supposed to, it connects to the server but doesn't join the room and if I somehow join the room, the participant from the mobile doesn't get connected to the same room I don't know why, anyone can look into this?
The text was updated successfully, but these errors were encountered: