Page 1 of 1

video and audio start automatically

PostPosted: Thu Jun 27, 2019 9:51 am
by tgayet
Hi,

i am using a cef browser that should work with a webrtc app (javascript / html5).

i am expected to see those Audio and Video streams but i cannot see anything.

on chromium, the video is well received but because of a policy, no video can start automatically with sound. we have to start it manually.

the same app on firefox or chrome works fine.

is there a way to view data such as webrtc-internals ?

I have found a parameter called --autoplay-policy=no-user-gesture-required ; it works fine for youtube, but not with my webrtc app.

does cef support webrtc ?

anyway, is there a way to allow a video to start with video and audio when the page load ?

thanks in advance for your help.

Regards

Thierry

Re: video and audio start automatically

PostPosted: Fri Jun 28, 2019 11:09 am
by Czarek
Pass --enable-media-stream flag to enable WebRTC.
CEF does not support proprietary codecs by default.