GetUserMedia failed from extension

1,524 views
Skip to first unread message

Ramasundar Kandasamy

unread,
May 30, 2013, 6:05:28 PM5/30/13
to discuss...@googlegroups.com
Hi,

I am developing a chrome extension to (WebRTC) call someone.

But getusermedia fails with "[object NavigatorUserMediaError]" error.

Did any one experience such an error?

Is it possible to do webrtc (audio) call within an extension?

Thanks and BR
Ram

Ramasundar Kandasamy

unread,
May 31, 2013, 4:26:49 AM5/31/13
to discuss...@googlegroups.com

Niklas Enbom

unread,
May 31, 2013, 11:39:32 AM5/31/13
to discuss...@googlegroups.com
Correct, it is not supported for extensions currently, only packaged apps.


On Fri, May 31, 2013 at 1:26 AM, Ramasundar Kandasamy <krama...@yahoo.com> wrote:


--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

James Mortensen

unread,
Jul 8, 2013, 4:18:41 PM7/8/13
to discuss...@googlegroups.com
Hi,

One thing you might try is having your extension load a window.open popup window to utilize WebRTC.  For instance, in packaged apps, although getUserMedia can capture the camera and mic, it can't capture the screen, so as a workaround, I used a popup window for screen sharing.

Since getUserMedia isn't available at all in extensions, you could use that same workaround for capturing the mic and camera.  Hope this helps!

James

Gabor Moczar

unread,
Aug 14, 2013, 11:58:47 AM8/14/13
to discuss...@googlegroups.com
Before version 28 (not sure in the exact version, because it just suddenly stopped working), we were able to use getUserMedia without any issue in an extension on Windows. Now we have permission denied. 

Gabor
Reply all
Reply to author
Forward
0 new messages