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

how to join in a room #5

Closed
VijaiAaditya opened this issue Jun 19, 2014 · 2 comments
Closed

how to join in a room #5

VijaiAaditya opened this issue Jun 19, 2014 · 2 comments
Labels

Comments

@VijaiAaditya
Copy link

please help me how to join a room in android app

everything is working fine for me but im not able to join a room from android device
please tell me which function i have to call

i already tested oncallready and answer functions

@pchab
Copy link
Owner

pchab commented Jun 19, 2014

Hi !
When you open a link to a "room" (it's not really a room but a socket id to join someone), the androidRTC should handle the link and call the method answer(callerId).
There is 2 ways to get this link :
-with ProjectRTC when you start the cam, there is a link following "share this link :"
-when you start AndroidRTC, you are provided with several ways to send a message which will contain the link.

For example, if you want to make a call between 2 androids (with AndroidRTC installed on both) :

  1. start the app on android 1, and send a link to android 2 (via email or whatever)
  2. open the link on android 2, you should be given the option to open it using androidRTC
  3. ???
  4. profit

For unknown reason, some devices didn't want to open those links with androidRTC. I tried to fix it on the devices I had but obviously couldn't test every available devices. If that's the case, could you tell me which device it is and any relevant log information.

PS: be sure to change the host address in res/values/strings.xml (it should point to your ProjectRTC server)

@VijaiAaditya
Copy link
Author

setting callerId= //id to which u want to connect

on oncallready() function

resolve my problem thanks to your quick response

Thanks pchab for ur compact solution for huge problem (webrtc native app)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants