Closed Bug 1643355 Opened 4 years ago Closed 4 years ago

Unexpected devices exposed in permission prompt on whereby when running on PineBook Pro

Categories

(Core :: WebRTC: Audio/Video, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1637319

People

(Reporter: gerard-majax, Unassigned)

Details

Attachments

(6 files)

Just got a nice PineBook Pro, shipping with ARM64-based Manjaro Linux and with Firefox as default browser. Trying to use it on whereby.com (it works), the permission prompt lists unexpected devices:

  • rockchip-rga
  • rockchip,rk3399-vpu-enc
  • rockchip,rk3399-vpu-dec

Then we have two devices "USB Camera: USB Camera" (seems to be fixed in release).

STR:

  1. Connect on whereby
  2. Request permission

Expected:
I should see one, (maybe two if they have different specs) "USB Camera" devices

Bug 1637319 added filtering so that only devices that support V4L2_CAP_VIDEO_CAPTURE should show up in the permission prompt. That should take care of the duplicate devices you mentioned. If the other devices say they support V4L2_CAP_VIDEO_CAPTURE, I'm not sure if there is a non-hacky way of ignoring them.

It sounds like from your bug report that you've tested Nightly, and the duplicate "USB Camera" entries are gone, but the other devices remain? Thanks!

(In reply to Dan Minor [:dminor] from comment #1)

Bug 1637319 added filtering so that only devices that support V4L2_CAP_VIDEO_CAPTURE should show up in the permission prompt. That should take care of the duplicate devices you mentioned. If the other devices say they support V4L2_CAP_VIDEO_CAPTURE, I'm not sure if there is a non-hacky way of ignoring them.

Right, I need to check that.

It sounds like from your bug report that you've tested Nightly, and the duplicate "USB Camera" entries are gone, but the other devices remain? Thanks!

Nope, I was discussing about the issue with :padenot who told me that it was already fixed in nightly (not in release as I wrote earlier).

Attached file V4L devices
Attached file /dev/video0
Attached file /dev/video1
Attached file /dev/video2
Attached file /dev/video3
Attached file /dev/video4

You should have all the V4L2 infos. For example, /dev/video0 for the device rockchip-rga does not seem to expose V4L2 Capture capability. So I guess it might all just be because of running release and not nightly?

Flags: needinfo?(dminor)

Yes, as far as I can tell Bug 1637319 will fix the problems you're seeing here. Thank you for the extra info. I'm going to resolve this a dupe, please reopen if you see problems with Nightly (or when 78 hits release).

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(dminor)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: