DescriptionVideoAdapter: Drop frames based on actual fps instead of expected fps
Pass timestamps to VideoAdapter instead of setting expected input frame rate, and use that to calculate when frames should be dropped.
BUG=webrtc:4938
TEST=Enable quality slider and HUD in debug settings. Request low fps with the quality slider and observe dropped frames.
Committed: https://crrev.com/604abe09f1d8bffc9e0d52c09484371f063cc2cd
Cr-Commit-Position: refs/heads/master@{#12811}
Patch Set 1 : #
Total comments: 8
Patch Set 2 : Use rtc::Optional for next timestamp instead #
Total comments: 4
Patch Set 3 : use std::abs #
Total comments: 2
Patch Set 4 : Add jitter test #
Messages
Total messages: 21 (10 generated)
|