Need help: Streaming WebRTC/H.264 to Android WebView

578 views
Skip to first unread message

Sascha B

unread,
Dec 5, 2019, 6:37:09 PM12/5/19
to meetecho-janus
I want to use Janus to stream my IP-Cam rtsp-Streams vie WebRTC to some Android Tablets running an App with a WebView inside. In the past there were some Chrome bugs, because of which this didn't work. Since these bugs are fixed in the current Crome Canary Build 80 according the Chromium Community, I gave it another try.

Now I get some slightly different results which I do not understand and I really need your expertise.

When using native Chrome 78 for Android 9 on Galaxy A40 everything works.

When using an app, which uses the WebView implementation of Chrome 78, I get a black screen and a text saying, that no remote video is available, but above the video box, some traffic is happening. (Probably no H.264 Support)

When using an app, with Chrome WebView implementation of Chrome Canary 80 (where all H.264 issues should be resolved), I get an error message + black screen + spinning wheel.
"Failed to execute "setRemoteDescription" on "RTCPeerConnection": Failed to set remote offer sdp: Failed to set remote video description send parameters"
I wonder, if WebRTC/H.264 could finally work if this problem could be also resolved...

I have dumped the Janus AdminAPI Output from all three scenarios and got no clou about the problem.

SDP of working Stream in Android Chrome 78 https://pastebin.com/rFxv9fxe

SDP of not working Stream in Android WebView Implementation Chrome 78 https://pastebin.com/23E1Es9h

SDP of not working Stream in Android WebView Implementation Chrome Canary 80 https://pastebin.com/P1v0xhXa


Your help is very appreciated!

Thank you.

Best, Sascha

Lorenzo Miniero

unread,
Dec 6, 2019, 4:59:10 AM12/6/19
to meetecho-janus
Chrome 78 dump not working is actually working from Janus perspective (ICE and DTLS connected, sending media).
Chrome 80 dump, there are no remote candidates (either you're not trickling them, or the browser isn't gathering any), so obviously it can never work.

L.
Reply all
Reply to author
Forward
0 new messages