Closed Bug 1404992 Opened 7 years ago Closed 6 years ago

Rework VideoConduit

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: padenot, Assigned: pehrsons)

References

(Blocks 1 open bug)

Details

Attachments

(10 files, 1 obsolete file)

46 bytes, text/x-phabricator-request
dminor
: review+
Details | Review
46 bytes, text/x-phabricator-request
dminor
: review+
Details | Review
46 bytes, text/x-phabricator-request
dminor
: review+
Details | Review
46 bytes, text/x-phabricator-request
dminor
: review+
Details | Review
46 bytes, text/x-phabricator-request
dminor
: review+
Details | Review
46 bytes, text/x-phabricator-request
dminor
: review+
Details | Review
46 bytes, text/x-phabricator-request
dminor
: review+
Details | Review
46 bytes, text/x-phabricator-request
bwc
: review+
dminor
: review+
Details | Review
46 bytes, text/x-phabricator-request
dminor
: review+
Details | Review
46 bytes, text/x-phabricator-request
dminor
: review+
Details | Review
No need to reconfig on input resolution changes anymore, yet we still do.\nMultiple api surfaces: e.g., one for input frames and their scaling, one for the encoder and the rest of its configuration.\n Keeping state updated based on input from JSEP, incoming frames and encoder\nFeedback (like bandwidth, load) gets broken easily. Should be able to improve the inter-thread communication model.\nNeeds unit tests so we know given input signals causes the right calls into the encoder.
Andreas, can you rank this one, and/or file sub-bugs ?
Flags: needinfo?(apehrson)
I'll leave as is. Someone needs to do an analysis of paths in VideoConduit that could be simplified and file bugs then or do them together. It would make sense to do this while, or after, writing unittests, see bug 1406935, bug 1406936 and bug 1406937.
Rank: 28
Flags: needinfo?(apehrson)
See Also: → 1406935, 1406936, 1406937
Blocks: 1407609
No longer blocks: webrtc-call-quality
See Also: → 1428098
VideoConduit's time has come, to make it easier for bug 1253499 to land.
Assignee: nobody → apehrson
Blocks: 1253499
Status: NEW → ASSIGNED
Rank: 28 → 18
Priority: P3 → P2
This enables us to configure it for cropping to a certain resolution alignment in a future patch. For instance with simulcast, so we don't have to skip a layer because it is impossible to scale the highest layer any further without losing the aspect ratio.
Comment on attachment 9003532 [details] Bug 1404992 - Remove unused/unnecessary code and do some cleanup. r?dminor Dan Minor [:dminor] has approved the revision.
Attachment #9003532 - Flags: review+
Comment on attachment 9003533 [details] Bug 1404992 - Use common code to convert images to I420. r?dminor Dan Minor [:dminor] has approved the revision.
Attachment #9003533 - Flags: review+
Comment on attachment 9003534 [details] Bug 1404992 - Initialize primitive VP8TrackEncoder members in declarations. r?dminor Dan Minor [:dminor] has approved the revision.
Attachment #9003534 - Flags: review+
Comment on attachment 9003535 [details] Bug 1404992 - Reduce bitrate selection paths. r?dminor Dan Minor [:dminor] has approved the revision.
Attachment #9003535 - Flags: review+
Comment on attachment 9003536 [details] Bug 1404992 - Initialize VideoConduit members in declarations. r?dminor Dan Minor [:dminor] has approved the revision.
Attachment #9003536 - Flags: review+
Comment on attachment 9003537 [details] Bug 1404992 - Refactor incoming frames' scaling path. r?dminor Dan Minor [:dminor] has approved the revision.
Attachment #9003537 - Flags: review+
Comment on attachment 9003538 [details] Bug 1404992 - Make VideoConduit scaling use a buffer pool. r?dminor Dan Minor [:dminor] has approved the revision.
Attachment #9003538 - Flags: review+
Comment on attachment 9003541 [details] Bug 1404992 - Don't rely on VideoAdapter in VideoConduit unittests. r?dminor Dan Minor [:dminor] has approved the revision.
Attachment #9003541 - Flags: review+
Comment on attachment 9003542 [details] Bug 1404992 - Recreate the VideoConduit's video adapter when setting the send codec config. r?dminor Dan Minor [:dminor] has approved the revision.
Attachment #9003542 - Flags: review+
Attachment #9003540 - Attachment is obsolete: true
Comment on attachment 9003539 [details] Bug 1404992 - Audit, document, assert and fix threading policy of VideoConduit. r?dminor, r?bwc Byron Campen [:bwc] has approved the revision.
Attachment #9003539 - Flags: review+
Comment on attachment 9003539 [details] Bug 1404992 - Audit, document, assert and fix threading policy of VideoConduit. r?dminor, r?bwc Dan Minor [:dminor] has approved the revision.
Attachment #9003539 - Flags: review+
Pushed by pehrsons@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/cd4cdda124f5 Remove unused/unnecessary code and do some cleanup. r=dminor https://hg.mozilla.org/integration/mozilla-inbound/rev/1e9a6abc6007 Use common code to convert images to I420. r=dminor https://hg.mozilla.org/integration/mozilla-inbound/rev/7c4d50c4b2d3 Initialize primitive VP8TrackEncoder members in declarations. r=dminor https://hg.mozilla.org/integration/mozilla-inbound/rev/0d3035db6bbf Reduce bitrate selection paths. r=dminor https://hg.mozilla.org/integration/mozilla-inbound/rev/fd00b044e6e8 Initialize VideoConduit members in declarations. r=dminor https://hg.mozilla.org/integration/mozilla-inbound/rev/8609a269556a Refactor incoming frames' scaling path. r=dminor https://hg.mozilla.org/integration/mozilla-inbound/rev/dbd6b3384314 Make VideoConduit scaling use a buffer pool. r=dminor https://hg.mozilla.org/integration/mozilla-inbound/rev/43ee5a35eaf1 Audit, document, assert and fix threading policy of VideoConduit. r=dminor, r=bwc https://hg.mozilla.org/integration/mozilla-inbound/rev/b86237ac8855 Don't rely on VideoAdapter in VideoConduit unittests. r=dminor https://hg.mozilla.org/integration/mozilla-inbound/rev/9f177888ae65 Recreate the VideoConduit's video adapter when setting the send codec config. r=dminor
Regressions: 1670515
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: