Closed Bug 1498242 Opened 6 years ago Closed 5 years ago

Separate input and output notifications when register for collection changes

Categories

(Core :: Audio/Video: cubeb, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: achronop, Assigned: achronop)

References

Details

We need to enhance `cubeb_register_device_collection_changed()` to allow registering different callbacks for input and output. Currently we can register one callback either for input or output or both.

Before cubeb remote we could workaround this issue by using two independent cubeb instances, one for input and one for output. With cubeb remote this is not easy and we need to re-use the existing one cubeb instance.
Assignee: nobody → achronop
Blocks: 1482150
Rank: 15
Priority: -- → P2
I was wondering if we have use case for it now. It seems that MediaEngineWebRTC registers the callbacks for input scope only[0].

[0] https://searchfox.org/mozilla-central/rev/eef79962ba73f7759fd74da658f6e5ceae0fc730/dom/media/webrtc/MediaEngineWebRTC.cpp#367,381
I am implementing the output enumeration in Bug 1482150 and I am blocked because of that.
Depends on: 1500377

Fixed by 1500377.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.