OLD | NEW |
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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 rtc::VideoSinkInterface<VideoFrame>* sink) override; | 166 rtc::VideoSinkInterface<VideoFrame>* sink) override; |
167 bool GetStats(VideoMediaInfo* info) override; | 167 bool GetStats(VideoMediaInfo* info) override; |
168 | 168 |
169 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet, | 169 void OnPacketReceived(rtc::CopyOnWriteBuffer* packet, |
170 const rtc::PacketTime& packet_time) override; | 170 const rtc::PacketTime& packet_time) override; |
171 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet, | 171 void OnRtcpReceived(rtc::CopyOnWriteBuffer* packet, |
172 const rtc::PacketTime& packet_time) override; | 172 const rtc::PacketTime& packet_time) override; |
173 void OnReadyToSend(bool ready) override; | 173 void OnReadyToSend(bool ready) override; |
174 void OnNetworkRouteChanged(const std::string& transport_name, | 174 void OnNetworkRouteChanged(const std::string& transport_name, |
175 const rtc::NetworkRoute& network_route) override; | 175 const rtc::NetworkRoute& network_route) override; |
| 176 void OnTransportOverheadChange(int transport_overhead_per_packet) override; |
176 void SetInterface(NetworkInterface* iface) override; | 177 void SetInterface(NetworkInterface* iface) override; |
177 | 178 |
178 // Implemented for VideoMediaChannelTest. | 179 // Implemented for VideoMediaChannelTest. |
179 bool sending() const { return sending_; } | 180 bool sending() const { return sending_; } |
180 | 181 |
181 // AdaptReason is used for expressing why a WebRtcVideoSendStream request | 182 // AdaptReason is used for expressing why a WebRtcVideoSendStream request |
182 // a lower input frame size than the currently configured camera input frame | 183 // a lower input frame size than the currently configured camera input frame |
183 // size. There can be more than one reason OR:ed together. | 184 // size. There can be more than one reason OR:ed together. |
184 enum AdaptReason { | 185 enum AdaptReason { |
185 ADAPTREASON_NONE = 0, | 186 ADAPTREASON_NONE = 0, |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 VideoSendParameters send_params_; | 518 VideoSendParameters send_params_; |
518 VideoOptions default_send_options_; | 519 VideoOptions default_send_options_; |
519 VideoRecvParameters recv_params_; | 520 VideoRecvParameters recv_params_; |
520 bool red_disabled_by_remote_side_; | 521 bool red_disabled_by_remote_side_; |
521 int64_t last_stats_log_ms_; | 522 int64_t last_stats_log_ms_; |
522 }; | 523 }; |
523 | 524 |
524 } // namespace cricket | 525 } // namespace cricket |
525 | 526 |
526 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ | 527 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ |
OLD | NEW |