Webcam/Microphone in CEF Browser

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dansarvas
Posts: 5
Joined: Sat Feb 16, 2019 9:53 pm

Webcam/Microphone in CEF Browser

Post by dansarvas » Sun Jun 16, 2019 6:07 pm

Hello guys, I was triyng to use WebRTC to do call feature inside a rev, but the CEF browser dont allow use mic or webcam, like http://forums.livecode[dot]com/viewtopic.php?f=11&t=29719&p=157823&hilit=webrtc#p157823 has already asked, but if you build cef, there is a command line that allows that (--enable-media-stream). There is a way to do that in livecode?

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Webcam/Microphone in CEF Browser

Post by [-hh] » Sun Jun 16, 2019 8:28 pm

GetUserMedia() doesn't work in the browser widget, so NO.
This makes webRTC currently unaccessible from LC.

There is a CEF update announced for one of the next LC releases. I don't know whether they'll include media access for the widget with that update.

But you can use with an Indy version the IndyCamera (no sound), see for example
http://livecodeshare.runrev.com/stack/927/IndyCam2_v102

Or you can make a HTML5 standalone. Then do there the GetUserMedia() from the browser and then use the camera/micro from the standalone.
See for the cam access
http://lists.runrev.com/pipermail/use-l ... 51857.html
and the following posts of this thread.
shiftLock happens

Post Reply

Return to “Internet”