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

Side by Side Diff: webrtc/media/engine/webrtcvideoengine2.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) 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 rtc::VideoSinkInterface<VideoFrame>* sink) override; 168 rtc::VideoSinkInterface<VideoFrame>* sink) override;
169 bool GetStats(VideoMediaInfo* info) override; 169 bool GetStats(VideoMediaInfo* info) override;
170 170
171 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet, 171 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet,
172 const rtc::PacketTime& packet_time) override; 172 const rtc::PacketTime& packet_time) override;
173 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet, 173 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet,
174 const rtc::PacketTime& packet_time) override; 174 const rtc::PacketTime& packet_time) override;
175 void OnReadyToSend(bool ready) override; 175 void OnReadyToSend(bool ready) override;
176 void OnNetworkRouteChanged(const std::string& transport_name, 176 void OnNetworkRouteChanged(const std::string& transport_name,
177 const rtc::NetworkRoute& network_route) override; 177 const rtc::NetworkRoute& network_route) override;
178 void OnTransportOverheadChange(int transport_overhead_per_packet) override;
178 void SetInterface(NetworkInterface* iface) override; 179 void SetInterface(NetworkInterface* iface) override;
179 180
180 // Implemented for VideoMediaChannelTest. 181 // Implemented for VideoMediaChannelTest.
181 bool sending() const { return sending_; } 182 bool sending() const { return sending_; }
182 183
183 // AdaptReason is used for expressing why a WebRtcVideoSendStream request 184 // AdaptReason is used for expressing why a WebRtcVideoSendStream request
184 // a lower input frame size than the currently configured camera input frame 185 // a lower input frame size than the currently configured camera input frame
185 // size. There can be more than one reason OR:ed together. 186 // size. There can be more than one reason OR:ed together.
186 enum AdaptReason { 187 enum AdaptReason {
187 ADAPTREASON_NONE = 0, 188 ADAPTREASON_NONE = 0,
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 VideoSendParameters send_params_; 538 VideoSendParameters send_params_;
538 VideoOptions default_send_options_; 539 VideoOptions default_send_options_;
539 VideoRecvParameters recv_params_; 540 VideoRecvParameters recv_params_;
540 bool red_disabled_by_remote_side_; 541 bool red_disabled_by_remote_side_;
541 int64_t last_stats_log_ms_; 542 int64_t last_stats_log_ms_;
542 }; 543 };
543 544
544 } // namespace cricket 545 } // namespace cricket
545 546
546 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ 547 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698