Webrtc in app inventor

Hello! Is there a way to use webrtc in app inventor? :thinking:

1 Like

Hello Abolfazl

webrtc is an SDK, so it could be incorporated into App Inventor by writing an extension based on it.

2 Likes

maybe a webviewer solution also might work

1 Like

Thank you! But is there already a extension for it or should I write it my self?

1 Like

Yes, I was thinking of that, but app inventor web viewer doesn't support javascript fully to use webrtc.

1 Like

use custom web view instead

Oh, yes I didn't think of that! :nerd_face:

2 Likes

We've definitely used WebRTC via WebView in the past in App Inventor. Our original proof-of-concept for WebRTC connectivity in the companion was originally done in JavaScript and the WebView. The problem was that Chrome only supported using the WebView for this starting with Android 5.0 but we wanted to maximize the support for Android versions, so we eventually moved to using the native libraries in the companion. You may want to try it with the built-in WebViewer first, especially if you're also thinking about eventually deploying your app on iOS, which doesn't support extensions at this time.

1 Like

Hello,
Mine looks fine as it joins the room but I have no way of allowing mic and cam.

When I add "AskForPermission" I still get "Error obtaining camera permission"

Any suggestions ?

Thank you in advance,

Carlos Bieberach

1 Like

I think you will benefit from this

Here also part 2:

1 Like

thats not webrtc it is scaledrone sadly :frowning: