|
Cast: Fix two video freezing problems
1) The first one only happens when running UDP over localhost: The connect() call
call fails and the sender stops listening to incoming packets. I fixed this by
re-starting the packet listening if needed after each successfully sent packet.
2) The second problem is that the packet storage times out packets based on time,
with the assumption that no packet should have to be re-sent if it's older than
the max history time. However, if packets are not ACKed in a timely fashion, the
video_sender may need to re-send arbitrarily old packets. To fix this, I change
the packet storage to remember "max outanding frames" regardless of timing.
BUG= 366911
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268142
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268176
Total comments: 24
Total comments: 10
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+270 lines, -294 lines) |
Patch |
 |
M |
chrome/common/cast_messages.h
|
View
|
1
2
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_rtp_stream.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_session_delegate.cc
|
View
|
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
media/cast/audio_sender/audio_sender.cc
|
View
|
1
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/audio_sender/audio_sender_unittest.cc
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_config.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_config.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/end2end_unittest.cc
|
View
|
|
8 chunks |
+16 lines, -25 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/sender.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/cast_transport_config.h
|
View
|
1
2
|
2 chunks |
+11 lines, -12 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/cast_transport_config.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/cast_transport_sender.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/cast_transport_sender_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/packet_storage/packet_storage.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+25 lines, -11 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/packet_storage/packet_storage.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+38 lines, -44 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+27 lines, -99 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/rtp_sender.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/rtp_sender.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+26 lines, -12 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/transport/udp_transport.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/transport/udp_transport.cc
|
View
|
1
2
|
5 chunks |
+23 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/transport_audio_sender.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/transport_video_sender.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/external_video_encoder_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/video_encoder_impl_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/video_sender.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/video_sender.cc
|
View
|
1
|
7 chunks |
+25 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/video_sender_unittest.cc
|
View
|
|
3 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|