android-webrtc-tutorial icon indicating copy to clipboard operation
android-webrtc-tutorial copied to clipboard

APK Demo - Tutorial

Open edwin-pixel-1 opened this issue 9 years ago • 16 comments

Hi, I'm developing an app to do broadcasting, however, Before to continous with my project I wanted to do a small test with the APK example made here.

But I had some problems testing this app, I cannot get connections between two android devices, is always "Connecting..." but it works between one android device and web api.

I would like to use this example like a base, to built a prototype to do video-broadcast.

I leave some specific questions in this thread. If someone help me with this, I would appreciate it.

Thanks!

edwin-pixel-1 avatar Feb 24 '16 19:02 edwin-pixel-1

have you resolved the issue

DatzZDeVesh avatar Mar 20 '16 11:03 DatzZDeVesh

I have the same problem..when I first installed the app, it connected devices but soon connection was closed. When I try to connect again, every time connection isn't established (only showing own front camera of device). Any suggestions?

PeterPan355 avatar Mar 21 '16 22:03 PeterPan355

Yes, I solved this issue. Currently I have an small prototype of a Video-Broadcasting app for android based on this example. I hope to publish an example of Video-Broadcasting the next week.

I had to make a test of this template using my own pubnub keys and everything worked well, obviously with some issues.

edwin-pixel-1 avatar Mar 21 '16 23:03 edwin-pixel-1

Can you please help me with this problem? How did you solve it? Because I really don't know where the problem is..

PeterPan355 avatar Mar 21 '16 23:03 PeterPan355

Have you made everything of this example and compiled your own project from this template? Are you usign your own pubnub keys?

edwin-pixel-1 avatar Mar 21 '16 23:03 edwin-pixel-1

Yeah, created everything like there just in my project, checked a lot of times, but connection between devices can't be established, but works with web api..

PeterPan355 avatar Mar 21 '16 23:03 PeterPan355

@Skatic7 Check the permmisions, Have you changed your.package.name? Have you published your code? Let me know where you have your code to check.

edwin-pixel-1 avatar Mar 21 '16 23:03 edwin-pixel-1

Hey @alejo740. I'm having the same issue of being stuck at "Connecting..." on both devices (Android-to-Android) once a call has been answered. I am using my own demo pub key and sub key for this. Do you have a working prototype that you would be willing to share?

ryandt avatar Mar 29 '16 18:03 ryandt

@alejo740 @ryandt Just one question, is it possible to establish connection between two androids with THIS tutorial? Or just between Android and web (just like it is example in tutorial)? Because you guys are saying that it stops at "connecting", but "connecting" isn't in this tutorial, but is in some other tutorials. :-/

PeterPan355 avatar Apr 09 '16 23:04 PeterPan355

Hello guys, currently I have working my App based on this tutorial. I had to do different things, but I suggest try the next:

  • First off, I suggest you, donwload and put manually the 'PubNub Signaling Library'. See Image 1.
  • Therefore, you have to remove the dependence: compile 'me.kevingleason:pnwebrtc:1.0.6@aar'

image Image 1,

edwin-pixel-1 avatar Apr 14 '16 04:04 edwin-pixel-1

how to solve this 'connection' question. help me!!!

GlenGithub avatar Jun 15 '16 09:06 GlenGithub

Does this need a punhub server for signaling? Or can I use my own server?

devyaz avatar Aug 12 '16 08:08 devyaz

@alejo740 have u tested between device? i've been trying so hard on this thing for a one month..and 0 result. Please help us

mkmlh avatar Mar 15 '17 13:03 mkmlh

how can i get my own demo pub key and sub key ?

guptasim8 avatar Aug 18 '17 04:08 guptasim8

@guptasim8 sign up to pubnub

mkmlh avatar Aug 19 '17 09:08 mkmlh

Please refer to this link below on the issue "connectin...". Just download a new verison of tutorial including STUN/TURN servers matters from here. Additionally, just change the PUB_KEY & SUB_KEY in Constans.class with the ones from GleasonK's tutorial. It will work!

WoogearKwon avatar Oct 05 '18 05:10 WoogearKwon