Refactor DesktopDeviceInfo
Categories
(Core :: WebRTC: Audio/Video, task)
Tracking
()
People
(Reporter: pehrsons, Assigned: pehrsons)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr128+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr128+
|
Details | Review |
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•6 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•6 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•6 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8033ee35e2d0
https://hg.mozilla.org/mozilla-central/rev/fdf5b0a81b0c
Assignee | ||
Comment 5•3 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++.
Original Revision: https://phabricator.services.mozilla.com/D220264
Updated•3 months ago
|
Assignee | ||
Comment 6•3 months ago
|
||
This member is patched on top of libwebrtc. New backends could be added from
under us. It needs to be initialized.
Original Revision: https://phabricator.services.mozilla.com/D220265
Updated•3 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Description
•