Closed Bug 1920942 Opened 1 year ago Closed 1 year ago

Make the duplicate frame interval in the Pacer mutable

Categories

(Core :: WebRTC: Audio/Video, task)

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: pehrsons, Assigned: pehrsons)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(10 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

It is currently immutable. With bug 1920687 we will want to change it depending on which FrameCadenceAdapter mode is in use.

This patch also cleans up includes and marks functions inline.

Note this doesn't block the caller, which helps avoid hanging some tests, but
instead relies on the caller spinning the event loop. The latter typically
happens through WaitFor(RefPtr<MozPromise>).

This adds logging to Pacer<T>, which is currently only used by
VideoFrameConverter. It also updates VideoFrameConverter's own logging through a
dedicated macro, and puts both classes' on the MediaPipeline log module.

Depends on: 1925039
No longer depends on: 1925039
Depends on: 1925062
Pushed by pehrsons@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b7103b0ed880 In WaitFor.h make functions work with both exclusive and non-exclusive event sources. r=jmaher https://hg.mozilla.org/integration/autoland/rev/3a0274da9502 Make WaitFor(MediaEventSourceImpl&) work with any number of event params. r=jmaher https://hg.mozilla.org/integration/autoland/rev/fa25c14e9451 In TakeN(MediaEventSourceImpl&) do not spin the event loop. r=jmaher https://hg.mozilla.org/integration/autoland/rev/e7e6b555d8b2 Make Pacer's duplication interval mutable. r=webrtc-reviewers,ng https://hg.mozilla.org/integration/autoland/rev/04a260ea11df Update VideoFrameConverter logging. r=webrtc-reviewers,ng https://hg.mozilla.org/integration/autoland/rev/878b0df5d9d1 Improve VideoFrameConverterTest.NoConversionsWhileInactive. r=webrtc-reviewers,ng https://hg.mozilla.org/integration/autoland/rev/c66e6248ecd0 Make TestVideoFrameConverter run faster with shorter duplication intervals. r=webrtc-reviewers,ng https://hg.mozilla.org/integration/autoland/rev/508fe4aa8e87 In TestVideoFrameConverter turn IsFrameBlack into a matcher. r=webrtc-reviewers,ng https://hg.mozilla.org/integration/autoland/rev/94b2828d51cf Disable VideoFrameConverter frame dropping for testing. r=webrtc-reviewers,ng https://hg.mozilla.org/integration/autoland/rev/37a7d9addd13 Allow 1us rounding error in VideoFrameConverterTest.TimestampPropagation. r=webrtc-reviewers,ng
Regressions: 1925393
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: