stellar2012wxg / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

CEF3: Add WebRTC support #531

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run cefclient.exe --enable-media-stream
2. Visit http://apprtc.appspot.com/

What is the expected output? What do you see instead?
Webcam feed should load. Instead, NOTREACHED() is hit in 
CefResourceContext::GetMediaStreamManager().

Please use labels and text to provide additional information.
Need to implement GetMediaStreamManager(). See 
chrome/browser/profiles/profile_io_data.cc for a reference implementation.

General WebRTC information available here: 
http://www.webrtc.org/running-the-demos

Original issue reported on code.google.com by magreenb...@gmail.com on 21 Feb 2012 at 5:42

GoogleCodeExporter commented 9 years ago
WebRTC support is added in revision 521.

Original comment by magreenb...@gmail.com on 28 Feb 2012 at 8:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Downloaded the cefclient (3.1364.1094) on windows but WebRTC seems not 
supported. Visiting apprtc.appspot.com and I get "Failed to get access to local 
media. error code was 1."
Any ideas?

Attached are the console.log and debug.log

Original comment by juliusca...@gmail.com on 20 Feb 2013 at 9:44

Attachments:

GoogleCodeExporter commented 9 years ago
WebRTC support is broken again in newer versions of CEF.

Original comment by magreenb...@gmail.com on 6 Mar 2013 at 11:17

GoogleCodeExporter commented 9 years ago
Issue 869 has been merged into this issue.

Original comment by magreenb...@gmail.com on 6 Mar 2013 at 11:17

GoogleCodeExporter commented 9 years ago
Fixed in trunk revision 1131.

Original comment by magreenb...@gmail.com on 7 Mar 2013 at 1:20

GoogleCodeExporter commented 9 years ago
GetUserMedia no longer errs out for me in the cefclient demo. However, it also 
doesn't pop the "Allow/Deny" toolbar for media the way regular Chrome does at 
that point. If you'll forgive the somewhat lazy question, how do you signal CEF 
to allow media access in this case? (Or is it allowing media access 
automatically, but not connecting because I need to change content settings to 
the desired media?)

Original comment by briansho...@gmail.com on 17 Mar 2013 at 6:10

GoogleCodeExporter commented 9 years ago
@comment#7: The functionality is enabled based on whether the 
"enable-media-stream" flag is specified and no additional checks. It currently 
uses the default OS device. In the future we'll eliminate the 
"enable-media-stream" flag, add a per-browser callback for media support and 
add API to choose non-default devices. Your application will need to provide 
any desired user interface.

Original comment by magreenb...@gmail.com on 18 Mar 2013 at 4:33

GoogleCodeExporter commented 9 years ago
Thank you for the reply. The future media-support callback and non-default 
device choice API sound extremely useful. (I wish the mainline Chrome browser 
offered something like these.)  I look forward to trying them!

Original comment by briansho...@gmail.com on 19 Mar 2013 at 1:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@comment#10: There are no plans at this time to go beyond what Chromium 
currently supports. Have you considered creating a device that acts as a 
virtual webcam?

Original comment by magreenb...@gmail.com on 17 Apr 2013 at 6:47

GoogleCodeExporter commented 9 years ago
Sorry , i got to delete the post before #11 before I saw the reply. In any case 
then let me just repeat that request was to allow custom media frames not 
depending on HW.

>Have you considered creating a device that acts as a virtual webcam?

Sure but I would like to avoid to register virtual camera and even still maybe 
it would not work since Chrome uses media foundation by default and NOT 
directshow.

Original comment by h...@splitmedialabs.com on 17 Apr 2013 at 7:02

GoogleCodeExporter commented 9 years ago
Would anyone knows if there are any plans to add WebRTC support to CEF1?

Original comment by StupidSu...@gmail.com on 19 Apr 2013 at 9:11

GoogleCodeExporter commented 9 years ago
@comment#13: WebRTC support will not be added to CEF1 due to the architectural 
limitations of CEF1.

Original comment by magreenb...@gmail.com on 19 Apr 2013 at 9:18

GoogleCodeExporter commented 9 years ago
Can you provide a sample or example how to enable the enable-media-stream in 
CEF3, on Mac OSX / Xcode configuration and other operating systems ?

Original comment by austinko...@gmail.com on 3 May 2013 at 8:48

GoogleCodeExporter commented 9 years ago
@comment#15: See http://magpcss.org/ceforum/viewtopic.php?f=6&t=10567 #17

Original comment by magreenb...@gmail.com on 3 May 2013 at 8:53

GoogleCodeExporter commented 9 years ago
Ok.... so how would I apply the command line parameters:

const char kEnableMediaStreamEnabled[] = "enable-media-stream";

within OnBeforeCommandLineProcessing so that the CEFClient actually uses it?

Original comment by austinko...@gmail.com on 3 May 2013 at 9:31

GoogleCodeExporter commented 9 years ago
@comment#17: Please ask usage questions on the CEF forum: 
http://magpcss.org/ceforum/

Original comment by magreenb...@gmail.com on 3 May 2013 at 9:44

GoogleCodeExporter commented 9 years ago
Please can someone paste a link to the cef3 that supports webRTC... the one I 
got is still not supporting my camera when I run the cef Client.

Original comment by richardb...@gmail.com on 25 May 2013 at 6:31

GoogleCodeExporter commented 9 years ago
i cant able to access web camera  in embedded chrome in wpf  i used cefsharp3 
binaries 
any help for this  

Original comment by uday.kol...@gmail.com on 8 Apr 2014 at 6:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@comment#8: "In the future we'll eliminate the "enable-media-stream" flag, add 
a per-browser callback for media support and add API to choose non-default 
devices."
Is there any possibility to get this feature in near future.

Regards,
Dileep

Original comment by dverm...@gmail.com on 1 Jun 2015 at 1:05