Closed Bug 1359406 Opened 7 years ago Closed 7 years ago

Unable to share the camera on Jitsi

Categories

(Core :: WebRTC, defect, P1)

55 Branch
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox53 --- affected
firefox54 --- affected
firefox55 --- affected

People

(Reporter: pauly, Unassigned)

References

Details

Attachments

(1 file)

[Affected versions]:
- 53.0, 55.0a1 (2017-04-24)

[Affected platforms]:
- Win 10 only

[Steps to reproduce]:
1. Open https://meet.jit.si/
2. Click on 'Go'

[Expected result]:
- 'Share microphone' and 'Share camera' pop-ups should be displayed. Once allowed, the microphone and camera should work properly.

[Actual result]:
- 'Share microphone' pop-up displayed twice. "There was an error connecting to your camera" error message displayed.
Browser console log:
"[modules/RTC/RTCUtils.js] <w/<>:  failed to obtain video stream - stop <unavailable>  lib-jitsi-meet.min.js:6
[conference.js] <m/<>:  failed to create local tracks <unavailable> <unavailable>  app.bundle.min.js:59
Async execution error (1): no such table: moz_favicons  WindowsJumpLists.jsm:440
TypeError: this._recipeManager is null[Learn More]"

[Regression range]:
- not a recent regression, reproduced on 48.0.2
Summary: Unable to share the camera on Jitsi → [Win10] Unable to share the camera on Jitsi
Rank: 19
Priority: -- → P1
Please indicate what type of camera you have - this works find on my win10 laptop with Nightly.

Also please provide logs with MediaManager:5,GetUserMedia:5

Thanks
Flags: needinfo?(paul.silaghi)
Attached file log.txt.child-3
55.0a1 (2017-05-04).
Actually this is reproducible on all platforms. It seems to depend on the camera type SD vs HD - only HD work in Firefox.
Genius FaceCam 320X and Trust Primo Webcam - FAIL.
Microsoft Lifecam HD-3000 - PASS.
Note that all the cameras work fine in Chrome.
Flags: needinfo?(paul.silaghi)
Summary: [Win10] Unable to share the camera on Jitsi → Unable to share the camera on Jitsi
OS: Windows 10 → All
Please get the logs - I suspect the problem is Jitsi asking for resolutions the camera doesn't provide.  We match the requests against the camera (in line with the spec); Chrome silently scales whatever it gets to the request.  If so, it's a site bug (again).

Jib - you could probably glance at the getUserMedia args and tell
Flags: needinfo?(paul.silaghi)
Flags: needinfo?(jib)
You're right, it's a site bug. Jitsi is asking for 1280x720 or bust:

  [Unnamed thread 0x1a1c89c60]: D/MediaManager Constraints: width: { min: 1280, max: 1280 }
  [Unnamed thread 0x1a1c89c60]: D/MediaManager              height: { min: 720, max: 720 }

The camera does not have this mode, so the call fails. This is Jitsi's fault. They should accept other resolutions.

Sure Chrome will rescale to whatever you ask for, but that's not to spec, so sites should not rely on it.

Check out https://blog.mozilla.org/webrtc/fiddle-week-downscale-video-peerconnection/
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jib)
Resolution: --- → INVALID
See Also: → 1286945
(In reply to Randell Jesup [:jesup] from comment #3)
> Please get the logs
The logs were attached in comment 2
Flags: needinfo?(paul.silaghi)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: