|
Cast: First stab at implementing adaptive latency
After a bunch of testing, it seems like there is a direct linear
relationship between RTT and the optimal playout delay. Packet loss
is also a factor, but since we expect packet loss to be low in
normal networks, perhaps we can make the formula as easy as RTT * 4.
This is disabled by default, the extension needs to set min_latency_ms
in order to activate it.
BUG= 405339
Committed: https://crrev.com/a7dbb823c2d7d5cfc7e310aca7acd6efd8e4a009
Cr-Commit-Position: refs/heads/master@{#294655}
Total comments: 4
Total comments: 2
Total comments: 2
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+123 lines, -42 lines) |
Patch |
 |
M |
chrome/common/extensions/api/cast_streaming_rtp_stream.idl
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/cast_streaming_native_handler.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_rtp_stream.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_rtp_stream.cc
|
View
|
|
3 chunks |
+19 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_config.h
|
View
|
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_config.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_sender_impl.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/sender/audio_sender.cc
|
View
|
1
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/frame_sender.h
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/frame_sender.cc
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/video_sender.h
|
View
|
1
2
3
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/sender/video_sender.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+28 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/video_sender_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/test/cast_benchmarks.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/end2end_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/sender.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/simulator.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/utility/default_config.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 21 (6 generated)
|