|
[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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272893
Total comments: 23
Total comments: 8
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+783 lines, -599 lines) |
Patch |
 |
M |
media/cast/audio_receiver/audio_receiver.h
|
View
|
1
2
|
6 chunks |
+40 lines, -16 lines |
0 comments
|
Download
|
 |
M |
media/cast/audio_receiver/audio_receiver.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+55 lines, -81 lines |
0 comments
|
Download
|
 |
M |
media/cast/audio_receiver/audio_receiver_unittest.cc
|
View
|
1
2
|
10 chunks |
+76 lines, -45 lines |
0 comments
|
Download
|
 |
M |
media/cast/audio_sender/audio_sender_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
A |
media/cast/base/clock_drift_smoother.h
|
View
|
1
2
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
A |
media/cast/base/clock_drift_smoother.cc
|
View
|
1
2
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast.gyp
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_defines.h
|
View
|
1
2
|
2 chunks |
+18 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/rtcp/rtcp.h
|
View
|
1
2
3
4
5
|
4 chunks |
+38 lines, -20 lines |
0 comments
|
Download
|
 |
M |
media/cast/rtcp/rtcp.cc
|
View
|
1
2
|
8 chunks |
+62 lines, -69 lines |
0 comments
|
Download
|
 |
M |
media/cast/rtcp/rtcp_unittest.cc
|
View
|
1
2
|
3 chunks |
+13 lines, -104 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/end2end_unittest.cc
|
View
|
1
2
3
4
|
31 chunks |
+166 lines, -82 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/receiver.cc
|
View
|
1
2
|
4 chunks |
+20 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/skewed_tick_clock.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/transport/cast_transport_config.h
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_receiver/video_receiver.h
|
View
|
1
2
|
6 chunks |
+40 lines, -15 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_receiver/video_receiver.cc
|
View
|
1
2
3
4
5
|
10 chunks |
+48 lines, -95 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_receiver/video_receiver_unittest.cc
|
View
|
1
2
|
9 chunks |
+90 lines, -54 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/video_sender_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
Total messages: 36 (0 generated)
|