Refactor DesktopDeviceInfo
Categories
(Core :: WebRTC: Audio/Video, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: pehrsons, Assigned: pehrsons)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
This code is old, and I think it is originally from libwebrtc where it was deleted at some point. We undeleted it and moved it to dom/media/systemservices. It looks a lot like C-code with low-level string handling and manual new/free and raw pointer shuffling.
There is also a lot of code duplication we could get rid of in that screen/window/tab info are largely the same.
Assignee | ||
Comment 1•2 months ago
|
||
This removes a lot of duplicate code with some help from templates.
It also brings the code in DesktopDisplayDevice and DesktopTab into the realm of
C++.
Assignee | ||
Comment 2•2 months ago
|
||
This member is patched on top of libwebrtc. New backends could be added from
under us. It needs to be initialized.
Comment 4•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8033ee35e2d0
https://hg.mozilla.org/mozilla-central/rev/fdf5b0a81b0c
Description
•