WebRTC: Implement DeviceInfo::DeviceChange() in DeviceInfoPipewire
Categories
(Core :: WebRTC, enhancement)
Tracking
()
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.
Assignee | ||
Comment 1•3 months ago
|
||
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.
Updated•3 months ago
|
Assignee | ||
Comment 2•2 months ago
|
||
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
Comment 4•2 months ago
|
||
bugherder |
Comment 6•2 months ago
|
||
bugherder |
Description
•