Android Question WebView and WebRTC

Riddle Ling

Member
Licensed User
I would like to use WebRTC in WebView,
For example, connect to SimpleWebRTC: https://simplewebrtc.com/demo.html
But the camera does not work, as as shown below.
How can I start the camera with the microphone?
 

Attachments

  • Screenshot_20170420-150234.png
    Screenshot_20170420-150234.png
    62.2 KB · Views: 808

William Hunter

Active Member
Licensed User
Longtime User
I would like to use WebRTC in WebView,
For example, connect to SimpleWebRTC: https://simplewebrtc.com/demo.html
But the camera does not work, as as shown below.
How can I start the camera with the microphone?
Hello Riddle Ling – I have looked at using a WebView for WebRTC video chats, and believe that this is not possible at the present time. Below are two web links that you should review:

1. Android WebView at Google Play

https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en

2. Android WebView at Developer Chrome

https://developer.chrome.com/multidevice/webview/overview

You will see, in reviewing these pages, that the current WebView for Android requires Version 5.0. I can find nothing to state that it is WebRTC enabled.

The Android L Developer Preview seems to contain a version of WebView (V36.0.0.0) that is WebRTC enabled, but not ready for general release. I find the explanation at both of these links a bit wanting. Perhaps another forum member can provide more helpful information. :(

Regards
 
Upvote 0

Riddle Ling

Member
Licensed User
Hello Riddle Ling – I have looked at using a WebView for WebRTC video chats, and believe that this is not possible at the present time. Below are two web links that you should review:

1. Android WebView at Google Play

https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en

2. Android WebView at Developer Chrome

https://developer.chrome.com/multidevice/webview/overview

You will see, in reviewing these pages, that the current WebView for Android requires Version 5.0. I can find nothing to state that it is WebRTC enabled.

The Android L Developer Preview seems to contain a version of WebView (V36.0.0.0) that is WebRTC enabled, but not ready for general release. I find the explanation at both of these links a bit wanting. Perhaps another forum member can provide more helpful information. :(

Regards

Thank you!

I reference to this post: https://www.b4x.com/android/forum/threads/webrtc-page-not-showing.77962/#post-493954

Now the camera is working.
 
Upvote 0
Top