Last Comment Bug 1320615 - 51beta 2(cannot start the call.error message:-getUserMedia() error: NotFoundError)
: 51beta 2(cannot start the call.error message:-getUserMedia() error: NotFoundE...
Status: RESOLVED INVALID
[testday-20161125]
: regression
Product: Core
Classification: Components
Component: WebRTC: Audio/Video (show other bugs)
: 49 Branch
: x86_64 Windows 8
: P1 normal 10 (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
:
Mentors:
Depends on:
Blocks: 802326
  Show dependency treegraph
 
Reported: 2016-11-27 19:33 PST by pushanshu
Modified: 2016-11-30 15:30 PST (History)
9 users (show)
drno: needinfo? (pushanshu25)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: yes
Has STR: yes
affected
affected
affected
affected


Attachments

Description User image pushanshu 2016-11-27 19:33:13 PST
User Agent: Mozilla/5.0 (Windows NT 6.2; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20161124073320

Steps to reproduce:

1. Go to https://webrtc.github.io/samples/src/content/peerconnection/pc1/ click Start and share you devices.
2. Click on "Call".
3. Click on "Hang Up".
4. Refresh the page and try to click on "Start".


Actual results:

(cannot start the call.error message:-getUserMedia() error: NotFoundError)


Expected results:

1. In the address bar the "i" starts to alternate with a red camera icon. 
2. Call starts and camera is capturing.
3. Call ends and camera stops capturing. 
4. Page is refreshed and you can click on "Start", camera starts capturing.
Comment 2 User image Nils Ohlmeier [:drno] 2016-11-29 15:55:26 PST
Just to clear:

4. Refresh the page and try to click on "Start".

If I simply click refresh button in the URL bar, the "Start" button stays greyed out and can't be clicked.
So I assume "Refresh page" refers to a forced refresh by clicking refresh button while holding "Shift".

After doing a forced refresh it works for me on Mac with 52 just fine. No error.
Comment 3 User image Nils Ohlmeier [:drno] 2016-11-29 15:59:18 PST
Also works fine for me with 49.0.2 on Win 10.
Comment 4 User image Nils Ohlmeier [:drno] 2016-11-29 16:06:45 PST
Also verified with 53 on Win 10. No problem for me.

Could be some driver issue with some cameras?!

Could you please look up the camera make and model you were using?
Could also please check on about:support if you have Multiprocess on or off?
Comment 5 User image YF (Yang) 2016-11-30 04:12:55 PST
Clarification: I use a different STR to identify this issue.

When I perform the first step to reproduce, the error message "-getUserMedia() error: NotFoundError" appears and no authorization popup appears. Regression window see above. It can be reproduced using a clean profile, as well mozregression.
Comment 6 User image Randell Jesup [:jesup] 2016-11-30 09:18:19 PST
Ok, that's a different issue.  I suspect you don't ahve a camera, or don't have a mic, or it doesn't like something about one of them.

Can you try https://mozilla.github.io/webrtc-landing/gum_test.html, and try Audio, Video, and Audio+Video tests there?

The "can't click start" bug is a non-webrtc bug from long ago; the test page is assuming that .disabled is cleared on a  reload; we don't do that.
Comment 7 User image YF (Yang) 2016-11-30 09:30:34 PST
(In reply to Randell Jesup [:jesup] from comment #6)
> Ok, that's a different issue.  I suspect you don't ahve a camera, or don't
> have a mic, or it doesn't like something about one of them.

I have a microphone, as well as comment 1, I can get this popup before that regression window. However, it may indeed be a different issue.

> Can you try https://mozilla.github.io/webrtc-landing/gum_test.html, and try
> Audio, Video, and Audio+Video tests there?
> 
> The "can't click start" bug is a non-webrtc bug from long ago; the test page
> is assuming that .disabled is cleared on a  reload; we don't do that.

Results in 51.0b4 (64-bit) with clean profile:
Video: NotFoundError: The object can not be found here.
Audio: works.
Audio+Video: NotFoundError: The object can not be found here.
Comment 8 User image Randell Jesup [:jesup] 2016-11-30 15:30:44 PST
(In reply to YF (Yang) from comment #7)
> (In reply to Randell Jesup [:jesup] from comment #6)
> > Ok, that's a different issue.  I suspect you don't ahve a camera, or don't
> > have a mic, or it doesn't like something about one of them.
> 
> I have a microphone, as well as comment 1, I can get this popup before that
> regression window. However, it may indeed be a different issue.

We changed our implementation to match the spec, which requires failing audio+video requests if you don't have a video source.  Chrome doesn't do this.  The application is supposed to either check first, or after failure try again without video.  Yes, somewhat annoying, but that was the spec agreed to.

> Results in 51.0b4 (64-bit) with clean profile:
> Video: NotFoundError: The object can not be found here.
> Audio: works.
> Audio+Video: NotFoundError: The object can not be found here.

Right.  This says you don't have a camera -- or it doesn't like your camera.  From the comment above you said you had a microphone, but didn't answer about a camera; I assume you don't have one.  If so, this is INVALID.  Please reopen if this is incorrect, and if so try attaching a log done with MOZ_LOG=MediaManager:4,GetUserMedia:4

Thanks!

Note You need to log in before you can comment on or make changes to this bug.