Android App

Issues when playing with WebRTC Player

Android App

Postby kpgchd » Fri Jan 04, 2019 5:04 am

WebRTCPlayer to play my DVR cams working fine when using in mobile browser (default) - (S8+/S3 for testing) but not working when running through app.
kpgchd
 
Posts: 0
Joined: Mon Nov 05, 2018 2:39 am

Re: Android App

Postby admin » Fri Jan 04, 2019 9:03 am

What do you mean - your App? How are you hosting the WebRTC player in your app?
It needs to be a web browser hosted in your app, kind of Chromium browser.
admin
Site Admin
 
Posts: 1042
Joined: Fri Aug 21, 2009 10:13 am

Re: Android App

Postby kpgchd » Sat Jan 05, 2019 1:59 am

My app means - The app I developing using reactjs and cordova to show my DVR cams life in mobile devices.
and
I think the app use default browser of mobile like samsung browser if I am using samsung mobile.

the example http://umediaserver.net/umediaserver/de ... layer.html works fine in default browser.
kpgchd
 
Posts: 0
Joined: Mon Nov 05, 2018 2:39 am

Re: Android App

Postby admin » Sat Jan 05, 2019 2:31 pm

So you need to find out what exact browser is used in your app and make sure it supports WebRTC.
At the minimum, AppRTC must work:
https://appr.tc/
admin
Site Admin
 
Posts: 1042
Joined: Fri Aug 21, 2009 10:13 am

Re: Android App

Postby kpgchd » Mon Jan 07, 2019 6:10 am

Hi

I found following while chrome://inspect/devices

User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36

I think this is the browser version...

and when I play video I got no error , just the video not shown... I don't how can I find out the issue...
kpgchd
 
Posts: 0
Joined: Mon Nov 05, 2018 2:39 am

Re: Android App

Postby admin » Mon Jan 07, 2019 7:35 am

I don't think Chrome 41 supported WebRTC (PeerConnection).
Does AppRTC work?
admin
Site Admin
 
Posts: 1042
Joined: Fri Aug 21, 2009 10:13 am

Re: Android App

Postby kpgchd » Tue Jan 08, 2019 10:19 am

Hi admin

AppRTC not worked in android webview. And that was not browser version that was user agent I had changed that to chrome 71 even then nothing worked.
So is that mean we can't use webRTC player in android webview...
kpgchd
 
Posts: 0
Joined: Mon Nov 05, 2018 2:39 am

Re: Android App

Postby admin » Tue Jan 08, 2019 4:16 pm

You need ask that question in Chrome/Android forums - does WebRTC PerConnection work in android webview?
admin
Site Admin
 
Posts: 1042
Joined: Fri Aug 21, 2009 10:13 am


Return to Playing with WebRTC Player

Who is online

Users browsing this forum: No registered users and 1 guest