Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(651)

Unified Diff: media/cast/net/rtcp/rtcp_utility.cc

Issue 1875433002: Reset NACK/ACK list when parsing a new RTCP packet. The NACK/ACK frames/packets list need to be res… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtcp/rtcp_utility.cc
diff --git a/media/cast/net/rtcp/rtcp_utility.cc b/media/cast/net/rtcp/rtcp_utility.cc
index 74af3a04fb45ab8b3998c185d80cafdcda4e49a4..33ac1b41c64023ce1b523d046f87d9d5e436f789 100644
--- a/media/cast/net/rtcp/rtcp_utility.cc
+++ b/media/cast/net/rtcp/rtcp_utility.cc
@@ -291,6 +291,8 @@ bool RtcpParser::ParseFeedbackCommon(base::BigEndianReader* reader,
// Please note, this frame_id is still only 8-bit!
cast_message_.ack_frame_id = last_frame_id;
+ cast_message_.missing_frames_and_packets.clear();
+ cast_message_.received_later_frames.clear();
xjz 2016/04/07 19:42:42 I think this line should be removed, as Cst2 chang
for (size_t i = 0; i < number_of_lost_fields; i++) {
uint8_t frame_id;
uint16_t packet_id;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698