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

Side by Side Diff: webrtc/test/rtcp_packet_parser.cc

Issue 2742383004: Delete support for receiving RTCP RPSI and SLI messages. (Closed)
Patch Set: Rebased. Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « webrtc/test/rtcp_packet_parser.h ('k') | webrtc/video/encoder_rtcp_feedback.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 switch (header.fmt()) { 48 switch (header.fmt()) {
49 case rtcp::Fir::kFeedbackMessageType: 49 case rtcp::Fir::kFeedbackMessageType:
50 fir_.Parse(header, &sender_ssrc_); 50 fir_.Parse(header, &sender_ssrc_);
51 break; 51 break;
52 case rtcp::Pli::kFeedbackMessageType: 52 case rtcp::Pli::kFeedbackMessageType:
53 pli_.Parse(header, &sender_ssrc_); 53 pli_.Parse(header, &sender_ssrc_);
54 break; 54 break;
55 case rtcp::Remb::kFeedbackMessageType: 55 case rtcp::Remb::kFeedbackMessageType:
56 remb_.Parse(header, &sender_ssrc_); 56 remb_.Parse(header, &sender_ssrc_);
57 break; 57 break;
58 case rtcp::Rpsi::kFeedbackMessageType:
59 rpsi_.Parse(header, &sender_ssrc_);
60 break;
61 case rtcp::Sli::kFeedbackMessageType:
62 sli_.Parse(header, &sender_ssrc_);
63 break;
64 default: 58 default:
65 LOG(LS_WARNING) << "Unknown rtcp payload specific feedback type " 59 LOG(LS_WARNING) << "Unknown rtcp payload specific feedback type "
66 << header.fmt(); 60 << header.fmt();
67 break; 61 break;
68 } 62 }
69 break; 63 break;
70 case rtcp::ReceiverReport::kPacketType: 64 case rtcp::ReceiverReport::kPacketType:
71 receiver_report_.Parse(header, &sender_ssrc_); 65 receiver_report_.Parse(header, &sender_ssrc_);
72 break; 66 break;
73 case rtcp::Rtpfb::kPacketType: 67 case rtcp::Rtpfb::kPacketType:
(...skipping 28 matching lines...) Expand all
102 default: 96 default:
103 LOG(LS_WARNING) << "Unknown rtcp packet type " << header.type(); 97 LOG(LS_WARNING) << "Unknown rtcp packet type " << header.type();
104 break; 98 break;
105 } 99 }
106 } 100 }
107 return true; 101 return true;
108 } 102 }
109 103
110 } // namespace test 104 } // namespace test
111 } // namespace webrtc 105 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/rtcp_packet_parser.h ('k') | webrtc/video/encoder_rtcp_feedback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698