| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 bool SetSink(uint32_t ssrc, | 158 bool SetSink(uint32_t ssrc, |
| 159 rtc::VideoSinkInterface<VideoFrame>* sink) override; | 159 rtc::VideoSinkInterface<VideoFrame>* sink) override; |
| 160 bool GetStats(VideoMediaInfo* info) override; | 160 bool GetStats(VideoMediaInfo* info) override; |
| 161 bool SetCapturer(uint32_t ssrc, VideoCapturer* capturer) override; | 161 bool SetCapturer(uint32_t ssrc, VideoCapturer* capturer) override; |
| 162 | 162 |
| 163 void OnPacketReceived(rtc::Buffer* packet, | 163 void OnPacketReceived(rtc::Buffer* packet, |
| 164 const rtc::PacketTime& packet_time) override; | 164 const rtc::PacketTime& packet_time) override; |
| 165 void OnRtcpReceived(rtc::Buffer* packet, | 165 void OnRtcpReceived(rtc::Buffer* packet, |
| 166 const rtc::PacketTime& packet_time) override; | 166 const rtc::PacketTime& packet_time) override; |
| 167 void OnReadyToSend(bool ready) override; | 167 void OnReadyToSend(bool ready) override; |
| 168 void OnBestConnectionChanged(Connection* best_connection) override; |
| 168 void SetInterface(NetworkInterface* iface) override; | 169 void SetInterface(NetworkInterface* iface) override; |
| 169 | 170 |
| 170 // Implemented for VideoMediaChannelTest. | 171 // Implemented for VideoMediaChannelTest. |
| 171 bool sending() const { return sending_; } | 172 bool sending() const { return sending_; } |
| 172 uint32_t GetDefaultSendChannelSsrc() { return default_send_ssrc_; } | 173 uint32_t GetDefaultSendChannelSsrc() { return default_send_ssrc_; } |
| 173 | 174 |
| 174 private: | 175 private: |
| 175 class WebRtcVideoReceiveStream; | 176 class WebRtcVideoReceiveStream; |
| 176 struct VideoCodecSettings { | 177 struct VideoCodecSettings { |
| 177 VideoCodecSettings(); | 178 VideoCodecSettings(); |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 // TODO(deadbeef): Don't duplicate information between | 517 // TODO(deadbeef): Don't duplicate information between |
| 517 // send_params/recv_params, rtp_extensions, options, etc. | 518 // send_params/recv_params, rtp_extensions, options, etc. |
| 518 VideoSendParameters send_params_; | 519 VideoSendParameters send_params_; |
| 519 VideoOptions default_send_options_; | 520 VideoOptions default_send_options_; |
| 520 VideoRecvParameters recv_params_; | 521 VideoRecvParameters recv_params_; |
| 521 }; | 522 }; |
| 522 | 523 |
| 523 } // namespace cricket | 524 } // namespace cricket |
| 524 | 525 |
| 525 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ | 526 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ |
| OLD | NEW |