webrtc/sdk
Sergey Silkin c68796e260 Calculate frame timestamps based on target frame rate
Before this change HardwareVideoEncoder used capture time as frame
timestamp passed to HW encoder. That led to buffer overshoots with
HW encoders which infer frame rate from timestamps when frames were
dropped before encoding (i.e., frame rate decreases according to frame
timestamps) or when FramerateBitrateAdjuster was used.

Fixed this by using synthetic monotonically increasing timestamps
calculated based on target frame rate provided by bitrate adjuster.

Bug: webrtc:12982
Change-Id: I2454cd4e574bbea1cb9855ced4d998104845415c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/228902
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Sergey Silkin <ssilkin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34810}
2021-08-19 19:10:32 +00:00
..
android Calculate frame timestamps based on target frame rate 2021-08-19 19:10:32 +00:00
objc Use backticks not vertical bars to denote variables in comments 2021-08-10 10:40:03 +00:00
BUILD.gn Add missing header file in mac framework target 2021-07-29 07:42:36 +00:00
media_constraints.cc Use backticks not vertical bars to denote variables in comments for /sdk 2021-07-27 14:39:06 +00:00
media_constraints.h Remove more mentions of RTP datachannels 2021-04-21 10:16:43 +00:00
media_constraints_unittest.cc Remove enable_rtp_data_channel 2021-04-15 10:20:00 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00