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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc

Issue 2947633003: Allow parsing empty RTCP TargetBitrate messages, but stop sending them. (Closed)
Patch Set: Add comment about using ToString only in tests Created 3 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 receiver_only_(receiver_only), 114 receiver_only_(receiver_only),
115 rtp_rtcp_(owner), 115 rtp_rtcp_(owner),
116 rtcp_bandwidth_observer_(rtcp_bandwidth_observer), 116 rtcp_bandwidth_observer_(rtcp_bandwidth_observer),
117 rtcp_intra_frame_observer_(rtcp_intra_frame_observer), 117 rtcp_intra_frame_observer_(rtcp_intra_frame_observer),
118 transport_feedback_observer_(transport_feedback_observer), 118 transport_feedback_observer_(transport_feedback_observer),
119 bitrate_allocation_observer_(bitrate_allocation_observer), 119 bitrate_allocation_observer_(bitrate_allocation_observer),
120 main_ssrc_(0), 120 main_ssrc_(0),
121 remote_ssrc_(0), 121 remote_ssrc_(0),
122 xr_rrtr_status_(false), 122 xr_rrtr_status_(false),
123 xr_rr_rtt_ms_(0), 123 xr_rr_rtt_ms_(0),
124 oldest_tmmbr_info_ms_(0),
124 last_received_rr_ms_(0), 125 last_received_rr_ms_(0),
125 last_increased_sequence_number_ms_(0), 126 last_increased_sequence_number_ms_(0),
126 stats_callback_(nullptr), 127 stats_callback_(nullptr),
127 packet_type_counter_observer_(packet_type_counter_observer), 128 packet_type_counter_observer_(packet_type_counter_observer),
128 num_skipped_packets_(0), 129 num_skipped_packets_(0),
129 last_skipped_packets_warning_ms_(clock->TimeInMilliseconds()) { 130 last_skipped_packets_warning_ms_(clock->TimeInMilliseconds()) {
130 RTC_DCHECK(owner); 131 RTC_DCHECK(owner);
131 memset(&remote_sender_info_, 0, sizeof(remote_sender_info_)); 132 memset(&remote_sender_info_, 0, sizeof(remote_sender_info_));
132 } 133 }
133 134
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 } else { 1049 } else {
1049 candidates.push_back(it->second.tmmbr_item); 1050 candidates.push_back(it->second.tmmbr_item);
1050 ++it; 1051 ++it;
1051 } 1052 }
1052 } 1053 }
1053 } 1054 }
1054 return candidates; 1055 return candidates;
1055 } 1056 }
1056 1057
1057 } // namespace webrtc 1058 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate_unittest.cc ('k') | webrtc/video/payload_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698