Closed DavidAmirKham closed 2 years ago
Please help me about this issue?
hi @DavidAmirKham
could you specify more about it
yes, I used RN at both sides and tested two times. The first time worked fast and in the second time, onCallListener worked before VideoScreen. When navigating to VideoScreen, onCallListener doesn't work.
so on 2nd attempt it does not work at all, correct?
Yes, 2nd attempt does not work at all
May be it is need to add
resetState = () => { CallService.stopCall(); AuthService.logout(); . . . };
It seems it's an issue with a code sample itself, and some state is not reset
Is it the bug from ConnectyCube?
It seems like an issue with code sample, so this case is not properly handled
I suggest to try your approach https://github.com/ConnectyCube/connectycube-reactnative-samples/issues/254#issuecomment-892456059
I would like to get receiving call from all screen and login AuthService and navigate to VideoScreen.
got it
so then all these listeners https://github.com/ConnectyCube/connectycube-reactnative-samples/blob/master/RNVideoChat/src/components/VideoScreen/index.js#L119 should be moved outside of Video component
Closed due to inactivity. Please create a new issue if needed.
Sometimes, ConnectyCube.videochat.onCallListener is very slowly and can't get session for getUserMedia and makes error? How to fix this bug?