diff options
author | miu@chromium.org <miu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-27 00:03:27 +0000 |
---|---|---|
committer | miu@chromium.org <miu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-27 00:03:27 +0000 |
commit | 31a5bc2eb44e79c7eaabd463cdb121a0ed9e5b35 (patch) | |
tree | 5da659c44164af09b9b06b776daf7691f82629d3 /media/cast/cast.gyp | |
parent | 51f82b0c9e3755e7fa068f99fc34e54c36d5066c (diff) | |
download | chromium_src-31a5bc2eb44e79c7eaabd463cdb121a0ed9e5b35.zip chromium_src-31a5bc2eb44e79c7eaabd463cdb121a0ed9e5b35.tar.gz chromium_src-31a5bc2eb44e79c7eaabd463cdb121a0ed9e5b35.tar.bz2 |
[Cast] Repair receiver playout time calculations and frame skip logic.
Fixed playout time calculations by relying on the sender reports in order
to compute reliable capture timestamps in terms of the local clock. Added
a ClockDriftSmoother to smooth out jitter/skew in the "NTP to local clock
TimeTicks" conversions. Used the same to provide a gradual timeline shift
in the case where a receiver had to "hack up" playout times before the
first sender report was processed.
As proof-of-concept, also added playout_time "smoothness" testing to the
End2EndTest's. Both first and second order effects are tested.
Miscellaneous clean-ups and fixes in timing code throughout media/cast.
BUG=356942
Review URL: https://codereview.chromium.org/280993002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/cast/cast.gyp')
-rw-r--r-- | media/cast/cast.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/cast/cast.gyp b/media/cast/cast.gyp index ea44430..4f0c2dd 100644 --- a/media/cast/cast.gyp +++ b/media/cast/cast.gyp @@ -33,6 +33,8 @@ 'cast_defines.h', 'cast_environment.cc', 'cast_environment.h', + 'base/clock_drift_smoother.cc', + 'base/clock_drift_smoother.h', 'logging/encoding_event_subscriber.cc', 'logging/encoding_event_subscriber.h', 'logging/log_deserializer.cc', |