Page MenuHomePhabricator

Bug 1913286 - WebRTC backport: PipeWire camera: filter out devices with no capabilities r=pehrsons
ClosedPublic

Authored by grulja on Aug 15 2024, 10:03 AM.
Referenced Files
Unknown Object (File)
Thu, Oct 16, 1:10 AM
Unknown Object (File)
Apr 27 2025, 2:52 PM
Unknown Object (File)
Apr 27 2025, 11:57 AM
Unknown Object (File)
Apr 27 2025, 8:14 AM
Unknown Object (File)
Apr 27 2025, 4:44 AM
Unknown Object (File)
Apr 10 2025, 2:34 AM
Unknown Object (File)
Mar 21 2025, 9:56 AM
Unknown Object (File)
Jan 8 2025, 4:53 PM
Subscribers

Details

Summary

Filter out devices that do not support any format supported by WebRTC.
This will for example be IR cameras that show as duplicated in the list
of cameras, but support only GRAY8 format and for that reason do not
work at all.

This is a simple backport of an WebRTC upstream change.

Upstream commit: b4aba7834e6c94adace1cb4c20e2e1ee70eb9cc5

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.

Code analysis found 2 defects in diff 902289:

  • 2 defects found by code coverage analysis
WARNING: Found 2 defects (warning level) that can be dismissed.

In our previous code coverage analysis run, we found some files which had no coverage and are being modified in this patch:
Should they have tests, or are they dead code?

  • You can file a bug blocking Bug 1415824 for untested files that should be tested.
  • You can file a bug blocking Bug 1415819 for untested files that should be removed.

If you see a problem in this automated review, please report it here.

You can view these defects in the Diff Detail section of Phabricator diff 902289.

testing-exception-other: no CI support for pipewire capture

This revision is now accepted and ready to land.Sep 2 2024, 8:00 AM