muaz-khan / RTCMultiConnection

RTCMultiConnection is a WebRTC JavaScript library for peer-to-peer applications (screen sharing, audio/video conferencing, file sharing, media streaming etc.)
https://muazkhan.com:9001/
MIT License
2.57k stars 1.37k forks source link

ICE fails resolving relay when using desktop browser on one side and crosswalk or webview Android on the other side #283

Open raducrisan1 opened 7 years ago

raducrisan1 commented 7 years ago

I used the library in a project and it works fine between browsers from different networks (tried home network + 4G once). It works even between desktop browser and mobile browser (chrome). Unfortunately I cannot make it work when I deploy the APK on Android. I use Crosswalk version 22. I deployed Coturn on a digital ocean account. Tried both turn and turns.

By looking at the web browser console on the desktop I see: 1) browser to browser, the remote ICE candidates are displayed correctly, the last one which matters is the relay one. The connection was established.

2) browser to android webview or crosswalk, I see only one remote ICE candidate of type host then a short pause and then the connectivity attempt is dropped. It happened though that 3 times out of many many attempts it worked, that was when the remote candidate displayed was a relay one. I wasn't able to keep it working consistently, I cannot reproduce to make it work again.

What shall I do to make it work?

raducrisan1 commented 7 years ago

Hi Muaz-Khan,

Were you able to create an android app that either broadcasts or displays video content using RTCMultiConnection? If so, did it work when the parts involved are in separate networks?

mado1987 commented 7 years ago

Salut @raducrisan1 . Si mie mi se intampla acelasi lucru. Am o aplicatie in angular si folosesc tot crosswalk 22. Pe consola de la app imi apar cateodata doar host ice candidates, iar alta imi apar si relay. Ai reusit sa gaesti vreo solutie?

raducrisan1 commented 7 years ago

Hi,

Yes. I created my own signaling server.

Cheers, Radu

On Mon, Jan 9, 2017 at 8:45 PM, mado1987 notifications@github.com wrote:

Salut @raducrisan1 https://github.com/raducrisan1 . Si mie mi se intampla acelasi lucru. Am o aplicatie in angular si folosesc tot crosswalk

  1. Pe consola de la app imi apar cateodata doar host ice candidates, iar alta imi apar si relay. Ai reusit sa gaesti vreo solutie?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/muaz-khan/RTCMultiConnection/issues/283#issuecomment-271368716, or mute the thread https://github.com/notifications/unsubscribe-auth/AOfVE75HcsHCuh9XTcbvbU1pQFySWLIyks5rQoBWgaJpZM4KqgkS .

mado1987 commented 7 years ago

Si care a fost problema? Ai un id de skype te rog?Mersi

sowmiyaksr commented 6 years ago

Hi raducrisan1 ,

Do you able to solve this issue?

I am facing same issue now.

Regards, Sowmiya

webleb commented 5 years ago

Hi how allow video call through webview?

webleb commented 5 years ago

on Android and ios