Closed Bug 1830275 Opened 2 years ago Closed 3 months ago

WebRTC: Implement DeviceInfo::DeviceChange() in DeviceInfoPipewire

Categories

(Core :: WebRTC, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: jgrulich, Assigned: jgrulich)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

This is a missing functionality in the PipeWire implementation in WebRTC. Without this functionality we won't be notified about newly added or removed camera and the list of cameras presented to the user won't reflect the real state.

Blocks: pipewire

Registers each DeviceInfoPipeWire in PipeWireSession we use and calls
DeviceChange() for each once there is a new camera added or removed to
invoke OnDeviceChange() for every registered VideoInputFeedback.

Assignee: nobody → jgrulich
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

We keep information about the PipeWire camera status as a member of the
PipeWire session, but it's never updated and remains in uninitialized
state. Make sure it gets updated once PipeWire is initialized or when it
fails. There is currently no use for this member variable, but there is
a plan to use it so I'm rather keeping it instead of removing it.

This is a simple backport of an WebRTC upstream change.

Upstream commit: 3881cb65cfcec90b6f0a56ce7223a471aa0115f2

Pushed by jgrulich@redhat.com: https://hg.mozilla.org/integration/autoland/rev/78bd1d147bff WebRTC backport: PipeWire camera: make member variable with the PipeWire status updated r=pehrsons,webrtc-reviewers
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Pushed by jgrulich@redhat.com: https://hg.mozilla.org/integration/autoland/rev/60eb5ef11c8d Add missing support for device change notifications r=pehrsons,webrtc-reviewers
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: