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

Side by Side Diff: webrtc/call.h

Issue 2437503004: Set actual transport overhead in rtp_rtcp (Closed)
Patch Set: Response to comments of honghaiz3 Created 4 years, 1 month 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 #ifndef WEBRTC_CALL_H_ 10 #ifndef WEBRTC_CALL_H_
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // implemented. 147 // implemented.
148 virtual void SetBitrateConfig( 148 virtual void SetBitrateConfig(
149 const Config::BitrateConfig& bitrate_config) = 0; 149 const Config::BitrateConfig& bitrate_config) = 0;
150 150
151 // TODO(skvlad): When the unbundled case with multiple streams for the same 151 // TODO(skvlad): When the unbundled case with multiple streams for the same
152 // media type going over different networks is supported, track the state 152 // media type going over different networks is supported, track the state
153 // for each stream separately. Right now it's global per media type. 153 // for each stream separately. Right now it's global per media type.
154 virtual void SignalChannelNetworkState(MediaType media, 154 virtual void SignalChannelNetworkState(MediaType media,
155 NetworkState state) = 0; 155 NetworkState state) = 0;
156 156
157 virtual void SignalTransportOverheadChange(
158 MediaType media,
159 int transport_overhead_per_packet) = 0;
160
157 virtual void OnNetworkRouteChanged( 161 virtual void OnNetworkRouteChanged(
158 const std::string& transport_name, 162 const std::string& transport_name,
159 const rtc::NetworkRoute& network_route) = 0; 163 const rtc::NetworkRoute& network_route) = 0;
160 164
161 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; 165 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0;
162 166
163 virtual ~Call() {} 167 virtual ~Call() {}
164 }; 168 };
165 169
166 } // namespace webrtc 170 } // namespace webrtc
167 171
168 #endif // WEBRTC_CALL_H_ 172 #endif // WEBRTC_CALL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698