video and audio start automatically

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

video and audio start automatically

Postby tgayet » Thu Jun 27, 2019 9:51 am

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
tgayet
Techie
 
Posts: 27
Joined: Wed Apr 24, 2019 6:53 am

Re: video and audio start automatically

Postby Czarek » Fri Jun 28, 2019 11:09 am

Pass --enable-media-stream flag to enable WebRTC.
CEF does not support proprietary codecs by default.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 15 guests