|
Cast: Deduplicate packets in paced sender and always send older packets first
Use a map sorted by <timestamp, ssrc, packet_id> to keep track of duplicate
packets. This map conveniently sorts such that map.begin() is the oldest packet
and should be sent first.
Also make sure that we never buffer more than one RTSP packet per ssrc.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266488
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+175 lines, -118 lines) |
Patch |
 |
M |
media/cast/audio_receiver/audio_receiver_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/rtcp/rtcp_sender.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/rtcp/rtcp_sender_unittest.cc
|
View
|
1
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/rtcp/rtcp_unittest.cc
|
View
|
1
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/pacing/mock_paced_packet_sender.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/pacing/paced_sender.h
|
View
|
1
|
3 chunks |
+22 lines, -12 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/pacing/paced_sender.cc
|
View
|
1
|
3 chunks |
+28 lines, -31 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/pacing/paced_sender_unittest.cc
|
View
|
|
8 chunks |
+38 lines, -24 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtcp/rtcp_builder.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/packet_storage/packet_storage.h
|
View
|
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/packet_storage/packet_storage.cc
|
View
|
1
2
|
6 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc
|
View
|
|
3 chunks |
+22 lines, -8 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc
|
View
|
|
5 chunks |
+17 lines, -9 lines |
0 comments
|
Download
|
 |
M |
media/cast/transport/rtp_sender/rtp_sender.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_receiver/video_receiver_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|