Chrome and FireFox Inconsistencies....

632 views
Skip to first unread message

Raymond Jender

unread,
Jun 9, 2017, 4:51:21 PM6/9/17
to kurento

 So I am playing with the 1toMany demo in KMS 6.6.  I have a Sony HD Handycam connected to my PC using an RCA Composite to USB device.
 I also have a Logitech USB webcam connected to the same PC.  I am using a virtual machine, Ubuntu 14.04.5 for the KMS server.

 In Chrome 59.0.3071.86., I am not being prompted to "ALLOW/Don't allow" camera/mic use when I choose Presenter.   It defaults to whatever camera the Chrome Media configuration setting is set to.
 If I set the Chrome Media setting to the Sony, it works.  If I set it to the USB Logitech Webcam, it works.  But bottom line,  I do not get the ALLOW/Don't Allow choice.

 In FireFox 53.0.3 I do get the ALLOW/Don't Allow choice with both cameras listed in the "Camera to share" drop down.   If I pick the Logitech camera and ALLOW, it works and I get video. If I pick the Sony camera and ALLOW, it does not work.  I just get the spinning
 graphic for the Sony where the  video should be.

 Is there any additional information needed to determine the problem area?

 Any idea if these can be fixed easily?

 Any comments?

 Thanks,

 Ray

.



Micael Gallego

unread,
Jun 9, 2017, 5:04:10 PM6/9/17
to kur...@googlegroups.com
Hi!

I recommend to you to make tests using webrtc samples and see if you have the same behavior.


Best regards

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/cc3dcc89-4e27-471f-bb78-30b6812ecc9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raymond Jender

unread,
Jun 9, 2017, 5:34:57 PM6/9/17
to kurento
So, I am trying the Webrtc samples.  Multiple Peer Connections. 

In FireFox, the Sony does not work,  The Logitech Webcam does work.  However, "Hang Up"  freezes the top right and bottom video.
In Chrome, I do not get the ALLOW/Don't Allow prompt.  Start is using the Sony.  Call --> and 2 other videos show.  Hang Up and the top right and bottom video go black.

So it looks like the same symptoms as above.


On Friday, June 9, 2017 at 5:04:10 PM UTC-4, Micael Gallego Carrillo wrote:
Hi!

I recommend to you to make tests using webrtc samples and see if you have the same behavior.


Best regards
El 9 jun. 2017 22:51, "Raymond Jender" <rayj...@gmail.com> escribió:

 So I am playing with the 1toMany demo in KMS 6.6.  I have a Sony HD Handycam connected to my PC using an RCA Composite to USB device.
 I also have a Logitech USB webcam connected to the same PC.  I am using a virtual machine, Ubuntu 14.04.5 for the KMS server.

 In Chrome 59.0.3071.86., I am not being prompted to "ALLOW/Don't allow" camera/mic use when I choose Presenter.   It defaults to whatever camera the Chrome Media configuration setting is set to.
 If I set the Chrome Media setting to the Sony, it works.  If I set it to the USB Logitech Webcam, it works.  But bottom line,  I do not get the ALLOW/Don't Allow choice.

 In FireFox 53.0.3 I do get the ALLOW/Don't Allow choice with both cameras listed in the "Camera to share" drop down.   If I pick the Logitech camera and ALLOW, it works and I get video. If I pick the Sony camera and ALLOW, it does not work.  I just get the spinning
 graphic for the Sony where the  video should be.

 Is there any additional information needed to determine the problem area?

 Any idea if these can be fixed easily?

 Any comments?

 Thanks,

 Ray

.



--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.

Ghanshyam Agrawal

unread,
Jun 9, 2017, 8:41:19 PM6/9/17
to Kurento Public
Yes, this seems to be problem in recent versions of firefox 
Our investigations result in issue with mic (different behaviour in different cases)  , if you turn audio:false in your media constraints ,it will work on firefox as well. 
Try this and share results.
Let us know your other findings as well. 

To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.

To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.

For more options, visit https://groups.google.com/d/optout.



--
Thanks,
Ghanshyam Agrawal
Contact No : +919717167192

Raymond Jender

unread,
Jun 10, 2017, 10:55:47 AM6/10/17
to kurento
I see no change when I set audio constraint to false.

There seems to be a few issues with 1toMany (or other demos):

1. Chrome is not asking to ALLOW or Deny access to camera/mic. I have the chrome settings set to always ask.
2. My Sony Camera does not work with FireFox as a Presenter.

My Sony camera works as a Presenter with Chrome (if Chrome media settings is set to it). Shouldn't Chrome ask whether to allow or deny?

Help is really needed with these.  If there is a way I can trouble shoot this  looking through code, I would appreciate it.
I do notice using FireFox and my Sony, when I select Presenter, GetUserMedia is never hit.

Help is appreciated!

Ray

Micael Gallego

unread,
Jun 10, 2017, 11:19:37 AM6/10/17
to kur...@googlegroups.com
I Raymond, 

I don't understand if you have an issue with Kurento or you have an issue with your camera. 

If you have the same problems with Kurento and with Webrtc samples, then you have some kind of problem with your system.

If your system is working well with webrtc demos, but not with Kurento, then you have a problem with Kurento.

Best regards

Micael Gallego
Kurento / OpenVidu Project Lead

To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.

To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.

Raymond Jender

unread,
Jun 10, 2017, 12:29:47 PM6/10/17
to kurento
My Sony camera does work as a Presenter in the Kurento 1toMany demo using Chrome only. but not with Firefox.  So it could be a Kurento-->FireFox issue or just FireFox?

And why doesn't Chrome ask for permission to  use the Camera or Mic when I try Kurento 1toMany?

I am kinda new to WebRTC and Kurento internals so pardon my inexperience.

Thanks

Ray

Micael Gallego

unread,
Jun 10, 2017, 12:50:39 PM6/10/17
to kur...@googlegroups.com
Does your cámera works in Firefox with WebRTC demos?

Best regards

Micael Gallego
Kurento / OpenVidu Project Lead

To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.

To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.

Ghanshyam Agrawal

unread,
Jun 10, 2017, 1:30:34 PM6/10/17
to Kurento Public
try 
test.webrtc.org and check for working webcam 
you can also verify it at talky.io 

Also, chrome asks permission only once after that it stores the permission , go to media setting and remove permissions.



For more options, visit https://groups.google.com/d/optout.

Raymond Jender

unread,
Jun 10, 2017, 3:07:12 PM6/10/17
to kurento
No, it does not work in FireFox.  It does work in Chrome.

Ray

Raymond Jender

unread,
Jun 10, 2017, 3:16:38 PM6/10/17
to kurento
So for test.webrtc.org using Chrome, all tests pass except Connectivity - Reflexive connectivity.  I get a little black triangle with an exclamation point inside.

In FireFox, I get:

Welcome to WebRTC Troubleshooter

Failed to access your computer's camera and microphone (NotReadableError: Failed to allocate videosource).


So it looks like a FireFox issue?


Ray

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.

Micael Gallego

unread,
Jun 10, 2017, 4:29:54 PM6/10/17
to kur...@googlegroups.com
Yes... Firefox issue

To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.

To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.

Ghanshyam Agrawal

unread,
Jun 11, 2017, 8:16:27 AM6/11/17
to Kurento Public

Raymond Jender

unread,
Jun 11, 2017, 9:11:41 AM6/11/17
to kurento
Thanks Ghanshyam.

So in Chrome (59), where are the web cams listed?  And how do I set the "ALLOW/Deny" camera/mic to always on?
I cannot find these in the Chrome Setting?

Thanks,

Ray
Yes... Firefox issue

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.

seema.g...@gmail.com

unread,
Sep 4, 2018, 6:25:20 AM9/4/18
to kurento
Hi,

Can anyone help me as webcam is not working on any browser and getting below error:


Webcam.js Error: Could not access webcam: NotReadableError: Failed to allocate videosource NotReadableError: Failed to allocate videosource


Here is used script:

<script type="text/javascript" src="webcam.min.js"></script>
<script language="JavaScript">
var constraints = {
            audio: false,
            video: true
        };
Webcam.set({
width: 320,
height: 240,
image_format: 'jpeg',
jpeg_quality: 90
});
  Webcam.set("constraints", {
        optional: [{ minWidth: 320 }]
      });
Webcam.attach( '#my_camera' );
function take_snapshot() {
// take snapshot and get image data
Webcam.snap( function(data_uri) {
// display results in page
document.getElementById('results').innerHTML =
'<img src="'+data_uri+'"/>';
       Webcam.upload( data_uri, 'uploadPic.php', function(code, text) {
                 jQuery('#visitor_pic').val(text);
            });
 
} );
}
</script>

Seema Sharma

unread,
Sep 4, 2018, 12:55:37 PM9/4/18
to kur...@googlegroups.com
Hi Kurento,

Please help me as i am not getting any solution for the same issue. Help would be appreciated.

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.

For more options, visit https://groups.google.com/d/optout.


--

Thanks & Regards

Seema Sharma
Geb And Nut Pvt Ltd.
Project Manager | seema.g...@gmail.com | www.gebandnut.co


Jon Ruddell

unread,
Sep 4, 2018, 2:22:16 PM9/4/18
to kurento
Hi Seema,

Your issue has to do with the Webcam.js library, I don't see any Kurento related code.  Also, please create a new thread when your message is unrelated to the rest of the messages.

Best,
Jon
Reply all
Reply to author
Forward
0 new messages