-
Notifications
You must be signed in to change notification settings - Fork 2
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
Redux is not updating, hence can't video call or receive call #115
Comments
@hatreact |
Even though startCall is running successfully without any error, when user navigates to
|
Can you display the localStream (a media stream from a device's camera)? Check this.
Both users should get a remote stream in ====================================== Your steps to set a call between users should look like this:
Make sure you have remote streams, then you can dispatch them to Redux to be able to use them from Redux state on any screen. You can test Redux with a local stream first because it is created locally. |
No I'm not able to see media stream from device's camera. With my code
With connectycube sample code
And localStream is shown in I tried to follow documentation and compare code with connectycube-reactnative-sdk multiple times. And there is no step I have missed.
My guess is it could be due to non-serialized values which could be session or streams being passed in redux. Maybe non-serialized values could be causing this unexpected behaviour. Do you think that it could cause serious problems? |
Ensure you use a real device instead of an iOS simulator or Android emulator. |
You've gotten the log of the new session, it’s obvious that it’s empty. From previous logs I see that you have a correct localStream and sent it. |
Somewhere you also call the It means that =========== Are you using our sample as is or did you change something in the code instead of configs? |
Yeah I tried to integrate sample code as well but facing the same issue. I created a repo with produceable behavior. It has the sample sdk code. |
@ccvlad could you follow up? |
Hey, @hatreact ! I've used your project (RAApp) to find the issue and prepared diff file with fixes - fix_redux_configurations.diff.zip You made a lot of mistakes in setting up the redux lib, so I advise you to understand the redux documentation. I haven't fixed other issues you might encounter later because you should figure it out for yourself. |
Versions:
Issue:
Caller's logs:
Receiver's logs:
As you can see in receiver's logs, right above [VIDEO-SCREEN] log at the end of the line, you'll see true value. This is isIncoming value. In receiver's logs, [SET_CALL_SESSION] log run when _onCallListener function run on receiver's side. And in [VIDEO-SCREEN] log the session is null, which shouldn't be.
Why ActiveCall reducer behaving strangely despite actions being dispatched correctly?
The text was updated successfully, but these errors were encountered: