Page 1 of 1
Webcam/Microphone in CEF Browser
Posted: Sun Jun 16, 2019 6:07 pm
by dansarvas
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?
Re: Webcam/Microphone in CEF Browser
Posted: Sun Jun 16, 2019 8:28 pm
by [-hh]
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.