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

Cannot read property 'peerConnectionInit' of undefined #94

Open
victormongi opened this issue Jul 2, 2021 · 5 comments
Open

Cannot read property 'peerConnectionInit' of undefined #94

victormongi opened this issue Jul 2, 2021 · 5 comments

Comments

@victormongi
Copy link

victormongi commented Jul 2, 2021

Cannot read property 'peerConnectionInit' of undefined
How to solve this, thank you...
Screen Shot 2021-07-02 at 9 10 20 AM

Call from web browser to react-native

ConnectyCube.videochat._onCallListener = this._onCallListener;
ConnectyCube.videochat._onAcceptListener = this._onAcceptCallListener;
ConnectyCube.videochat._onRejectListener = this._onRejectCallListener;
ConnectyCube.videochat._onStopListener = this._onStopCallListener;

I found that this is changed to in newer version

@ccvlad
Copy link
Contributor

ccvlad commented Jul 2, 2021

Hi @victormongi

Do not overwrite internal listeners like ConnectyCube.videochat._onCallListener etc.
Please refer to our docs Video Calling.

@victormongi
Copy link
Author

victormongi commented Jul 5, 2021

Screen Shot 2021-07-05 at 8 25 30 AM

I use this but this doesn't work, please help Im using: "react-native-connectycube": "^3.10.0",

@ccvlad
Copy link
Contributor

ccvlad commented Jul 5, 2021

I can't figure out what exactly isn't working. Could you show what is displayed in the log?

This code works in our JS Videochat Sample.

@victormongi
Copy link
Author

victormongi commented Jul 12, 2021

Could you use this
https://github.com/ConnectyCube/connectycube-reactnative-samples/tree/master/RNVideoChat
and try using the latest connectycube. or this example doesn't work with the latest version of connectyube?
Thank you for your help.

This is the error when I remove the underscore
telegram-cloud-photo-size-5-6296193104570593546-y

@MuahammdUmar
Copy link

@victormongi did you solve the issue. I am facing the same issue, could the react native version be the issue ?

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

3 participants