ConnectyCube / connectycube-reactnative-samples

Chat and Video Chat code samples for React Native, ConnectyCube
https://connectycube.com
Apache License 2.0
124 stars 111 forks source link

Unable to clone the repo #47

Closed HimanshuGajera closed 4 years ago

HimanshuGajera commented 4 years ago

I am getting this error:

Git: fatal: repository 'https://github.com/ConnectyCube/connectycube-reactnative-samples/tree/master/RNVideoChat/' not found

DaveLomber commented 4 years ago

Hi @HimanshuGajera

please try git clone git@github.com:ConnectyCube/connectycube-reactnative-samples.git

HimanshuGajera commented 4 years ago

I am unable to make video calls using sample app.

How i will be able to make video calls using sample code? Please advise.

On Mon, Mar 16, 2020, 2:17 PM Dave Pol Lomber notifications@github.com wrote:

Closed #47 https://github.com/ConnectyCube/connectycube-reactnative-samples/issues/47 .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-reactnative-samples/issues/47#event-3132145415, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZWIH5D2IBLEE7FFIEP5NDRHXRSTANCNFSM4LHA6O4Q .

ccvlad commented 4 years ago

https://github.com/ConnectyCube/connectycube-reactnative-samples/blob/master/RNVideoChat/README.md#quick-start-and-develop

Use real iOS/Android devices instead of simulator/emulator to have active cameras

HimanshuGajera commented 4 years ago

I am using actual device, still not able to make calls. The connecting dial just keeps on buffering and i am getting the following warning.

On Tue, Mar 17, 2020, 5:08 PM ccvlad notifications@github.com wrote:

https://github.com/ConnectyCube/connectycube-reactnative-samples/blob/master/RNVideoChat/README.md#quick-start-and-develop

Use real iOS/Android devices instead of simulator/emulator to have active cameras

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-reactnative-samples/issues/47#issuecomment-600023720, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZWIH6J2F4AYW7DAXGIJADRH5OJTANCNFSM4LHA6O4Q .

ccvlad commented 4 years ago

You should have min 2 device and do login by different users on each device, then make a call from User1 to User2 and User2 have to accept an incoming call. Also don't forget to allow requested permissions.

Provide us some helpful information such as logs or steps to reproduce if you would not able to make call. Maybe I have missunderstood you

HimanshuGajera commented 4 years ago

At first place,I am not able to login with any of the users then i will make video calls?

Guide me on this issue and the screenshot i shared is the only log i am getting. Nothing in my terminal window.

On Tue, Mar 17, 2020, 5:49 PM ccvlad notifications@github.com wrote:

You should have min 2 device and do login by different users on each device, then make a call from User1 to User2 and User2 have to accept an incoming call. Also don't forget to allow requested permissions.

Provide us some helpful information such as logs or steps to reproduce if you would not able to make call. Maybe I have missunderstood you

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-reactnative-samples/issues/47#issuecomment-600040003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZWIH5W7GBCNETGUTIWE7TRH5TFNANCNFSM4LHA6O4Q .

ccvlad commented 4 years ago

I don't see any screenshot. Please attach again

HimanshuGajera commented 4 years ago

These are the screenshots :-

On Tue, Mar 17, 2020, 6:00 PM ccvlad notifications@github.com wrote:

I don't see any screenshot. Please attach again

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-reactnative-samples/issues/47#issuecomment-600044367, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZWIH6LAZYVXVBWNALZE33RH5UOZANCNFSM4LHA6O4Q .

ccvlad commented 4 years ago

Screenshot 2020-03-17 at 14 37 05

HimanshuGajera commented 4 years ago

I was e-mailing you directly from the Gmail app. Please send the link of github page which screenshot you had sent me. I will send the screenshots again.

On Tue, Mar 17, 2020, 6:08 PM ccvlad notifications@github.com wrote:

[image: Screenshot 2020-03-17 at 14 37 05] https://user-images.githubusercontent.com/43810932/76856866-e4047a00-685c-11ea-890c-3cad699f7996.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-reactnative-samples/issues/47#issuecomment-600047475, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZWIH4YKKTKGZDDYMTZWMTRH5VLVANCNFSM4LHA6O4Q .

ccvlad commented 4 years ago

Just send via GitHub issues.

HimanshuGajera commented 4 years ago

These are screenshots: Screenshot_20200317-171656_RNVideoChat Screenshot_20200317-171646_RNVideoChat

ccvlad commented 4 years ago

#/connectycube-reactnative-samples/RNVideoChat/src/components/AuthScreen/index.js

Change const _onFailLogin = () => {...} to const _onFailLogin = (error = {}) =>

Then we will see the error

HimanshuGajera commented 4 years ago

This is what i'm getting Screenshot_20200317-232132_RNVideoChat

ccvlad commented 4 years ago

I see that you have changed users' names, seems you have also changed users in config. Make sure that you correctly pointed a config on your ConnectyCube app (https://admin.connectycube.com/)

HimanshuGajera commented 4 years ago

I didn't get you correctly. What am i supposed to do? Should i keep tha names as before or by changing the names i have to dom some other configurations as well?

And the admin login link you've sent, i can't find anything there because i have not anable the custome cofiguration option.

On Wed, Mar 18, 2020, 2:43 PM ccvlad notifications@github.com wrote:

I see that you have changed users' names, seems you have also changed users in config. Make sure that you correctly pointed a config https://github.com/ConnectyCube/connectycube-reactnative-samples/blob/master/RNVideoChat/src/config.js#L3 on your ConnectyCube app (https://admin.connectycube.com/)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-reactnative-samples/issues/47#issuecomment-600507105, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZWIHZFDDLQHRGQDBEFTYDRICGDNANCNFSM4LHA6O4Q .

ccvlad commented 4 years ago

Revert the config file to the source state and check again, do not change anything. You are getting the error cause backend doesn't know your users.

HimanshuGajera commented 4 years ago

Okay it is working for me. Thanks !

But how I can change the user name or how I can create a login page and make users to manually add the credentials and connect the page with app.

I didn’t find this info on connectycube guide page.

Please Guide me with this.

On 18-Mar-2020, at 2:54 PM, ccvlad notifications@github.com wrote:

Revert the config file to the source state https://github.com/ConnectyCube/connectycube-reactnative-samples/blob/master/RNVideoChat/src/config.js and check again, do not change anything. You are getting the error cause backend doesn't know your users.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-reactnative-samples/issues/47#issuecomment-600512733, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZWIH456HNMCCIWYNZJ7UDRICHNVANCNFSM4LHA6O4Q.

ccvlad commented 4 years ago

Just change user's name: https://github.com/ConnectyCube/connectycube-reactnative-samples/blob/master/RNVideoChat/src/config.js#L15.

Also you are able to create new app on our shared server. Follow the guide.

Then create users via the admin panel or via user API and set its to the config file.

HimanshuGajera commented 4 years ago

Okay, still not 100% clear to me but seems getable. I'll try and reach out to you if i face any issues.

Thanks for your time and this useful help.🙏

On Wed, Mar 18, 2020, 3:18 PM ccvlad notifications@github.com wrote:

Just change user's name: https://github.com/ConnectyCube/connectycube-reactnative-samples/blob/master/RNVideoChat/src/config.js#L15 .

Also you are able to create new app on our shared server. Follow the guide https://developers.connectycube.com/?id=getting-started.

Then create users via the admin panel or via user API https://developers.connectycube.com/js/authentication-and-users?id=user-signup and set its to the config file.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-reactnative-samples/issues/47#issuecomment-600523105, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZWIHYXIQKILKNWB6HUGL3RICKF3ANCNFSM4LHA6O4Q .