Capturing Audio & Video in HTML5

682 views
Skip to first unread message

Fares ABADOU

unread,
May 8, 2014, 4:18:45 PM5/8/14
to phpde...@googlegroups.com
Hi Czarek,
is there any way to Capture audio or video in html5 with getUserMedia();
work in google chrome , not in  phpdesktop-chrome-31.6-php-5.5.8v .
Best regards

Czarek Tomczak

unread,
May 8, 2014, 4:31:09 PM5/8/14
to phpde...@googlegroups.com
Hi Fares,

Try setting this switch:

{"enable-media-stream": ""} - Enables media (WebRTC audio/video) streaming.

See the ChromeSettings wiki page > command_line_switches.

Make sure no dlls are missing, especially ffmpegsumo.dll.

If you encounter issues try searching CEF issue tracker whether it is a known issue:

Best regards,
Czarek 

Terry

unread,
Feb 28, 2015, 12:55:52 PM2/28/15
to phpde...@googlegroups.com
Hi Czarek.

I have brain lock on this and kind of embarrassed to even ask, but...

For life of me not grasping where to place {"enable-media-stream": ""} in the setting.json file. Currently have:

        "command_line_switches": {},
"enable-media-stream": "",

But still getting the popup message about browser doesn't support getUserMedia.

Currently using phpdesktop-chrome-31.8-php-5.6.1 for this test.

Think the older I get, the mushier my brain gets:)

Thanks!

Terry

unread,
Feb 28, 2015, 1:16:03 PM2/28/15
to phpde...@googlegroups.com
I knew it! Would be embarrassed, lol.

Got it after taking a "10th" look at things.

Sorry for silly question...

Czarek Tomczak

unread,
Mar 1, 2015, 1:35:21 AM3/1/15
to phpde...@googlegroups.com
Don't worry, it's okay to ask. I've updated the ChromeSettings wiki page with an example code:

Example code in settings.json:

command_line_switches: {
   
"lang": "fr",
   
"enable-media-stream: ""
},

Terry

unread,
Mar 1, 2015, 8:46:53 AM3/1/15
to phpde...@googlegroups.com
Thanks Czarek, you rock man.
Reply all
Reply to author
Forward
0 new messages