Closed Bug 1731520 Opened 3 years ago Closed 2 years ago

snap camera does not show video on firefox on mac

Categories

(Core :: WebRTC: Audio/Video, enhancement, P3)

Firefox 92
Desktop
macOS
enhancement

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: saurabh.minni, Assigned: pehrsons)

References

Details

Attachments

(4 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0

Steps to reproduce:

Install Snap camera
Open any website which needs webcam access like meet.google.com
GIve permissions required to enable camera access to firefox and website

Actual results:

Nothing shown from camera to the webpage. Its just a black screen

Expected results:

Camera should capture and show the webcam content on the page

The Bugbug bot thinks this bug should belong to the 'Core::WebRTC: Audio/Video' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → WebRTC: Audio/Video
Product: Firefox → Core

Thanks for the bug report! Can you confirm that the Snap Camera device is usable in the macOS PhotoBooth app? If the answer is no, is it usable after a reboot?

Flags: needinfo?(saurabh.minni)

SnapCamera is not usable in maxOS PhotoBooth app even after reboot.

SnapCamera though works for Chrome though, if that is helpful.

Flags: needinfo?(saurabh.minni)

Confirmed. I'm going to guess this is blocked on bug 1451394. Andreas, do you agree?

Type: defect → enhancement
Flags: needinfo?(apehrson)
OS: Unspecified → macOS
Priority: -- → P3
Hardware: Unspecified → Desktop

Not necessarily. If we can port the chromium backend then yes. But if the backend comes from libwebrtc this is highly unclear.

Flags: needinfo?(apehrson)
See Also: → 1451394

FWIW I've also confirmed this works in Chrome but not Safari or Photobooth, using https://webrtc.github.io/samples/src/content/devices/input-output/

This seems consistent with information on Apple Developer Forums https://developer.apple.com/forums/thread/656944

Thanks, I'm going to mark it blocking on bug 1451394 since that bug captures that "We need to decide whether we want to continue using the webrtc.org". This lets us track it along other features like Full HD and 4K that are already blocking on it.

Depends on: 1451394
See Also: 1451394

Snap Camera is reporting a bogus fourcc (ascii 0x18000000). It works in Chromium thanks to this which the libwebrtc backend does not do.

Scratch that. The libwebrtc backend configures the video output similarly to NV12 ('420v') as I've confirmed with logs. But it still calls didDropSampleBuffer for every frame. Unclear why.

If we provide width and height in videoSettings it works :s

Status: UNCONFIRMED → NEW
Ever confirmed: true

Upstream commit: https://webrtc.googlesource.com/src/+/7e176c41b9818052d79d5e3065b36655edbebd6d
Get RTCCameraVideoCapturerTests working again

See commit
https://webrtc.googlesource.com/src/+/c8a6fb2bb8762de17008dee97c5fb6e762f7e056
where the setup methods for RTCCameraVideoCaptureTests' test cases were
lost. Both "setup" where XCTest instead looks for "setUp", and
"setupWithMockedCaptureSession" which isn't called explicitly anywhere.

This commit splits the old RTCCameraVideoCaptureTests into two;
RTCCameraVideoCaptureTests for tests using "setup", and
RTCCameraVideoCaptureTestsWithMockedCaptureSession for tests using
"setupWithMockedCaptureSession".

Bug: webrtc:8382
Change-Id: I64cefff744e12f62d65e04133512de1e10d17d95
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288601
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38931}
Assignee: nobody → apehrson
Status: NEW → ASSIGNED

Upstream commit: https://webrtc.googlesource.com/src/+/8ce2fc1448fb4d92480059957cb6c0b76896b59e
Add back lost RotationCamera tests

Lost in
https://webrtc.googlesource.com/src/+/c8a6fb2bb8762de17008dee97c5fb6e762f7e056

Bug: webrtc:8382
Change-Id: Ic9abd5d2b5d2593354e759c328b423ba272c8b9b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288700
Reviewed-by: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com>
Cr-Commit-Position: refs/heads/main@{#38991}

Upstream commit: https://webrtc.googlesource.com/src/+/8bec181bfc4f3e3fee422513c0f75f90e80e4ed6
Finish converting RTCCameraVideoCapturerTests to XCTest

Failed gunit assertions in these XCTestCase classes cannot result in
failed tests.

Bug: webrtc:8382
Change-Id: I47b50b74f60029fafeff4ca885775482a85dfdd3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288603
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38995}

Upstream commit: https://webrtc.googlesource.com/src/+/d100a589c82b57659d4ab8dba856fd68b21f1f40
Add dimensions to video settings in objc sdk camera backend.

This is required by some virtual cameras, like Snap Camera from
Snapchat.

Bug: webrtc:14783
Change-Id: I3d841936c17f3f227af9a94a4c3b0f37940d43b2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288361
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39073}
Pushed by pehrsons@gmail.com: https://hg.mozilla.org/integration/autoland/rev/fa7acbaa684f libwebrtc: Cherry-pick commit 7e176c41b9. r=ng https://hg.mozilla.org/integration/autoland/rev/5d8ab5be6952 libwebrtc: Cherry-pick commit 8ce2fc1448. r=ng https://hg.mozilla.org/integration/autoland/rev/e94499837a0a libwebrtc: Cherry-pick commit 8bec181bfc. r=ng https://hg.mozilla.org/integration/autoland/rev/33f381f39f63 libwebrtc: Cherry-pick commit d100a589c8. r=ng
No longer regressions: 1838079
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: