| 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 ~WebRtcVideoReceiveStream(); | 394 ~WebRtcVideoReceiveStream(); |
| 395 | 395 |
| 396 const std::vector<uint32_t>& GetSsrcs() const; | 396 const std::vector<uint32_t>& GetSsrcs() const; |
| 397 | 397 |
| 398 void SetLocalSsrc(uint32_t local_ssrc); | 398 void SetLocalSsrc(uint32_t local_ssrc); |
| 399 void SetFeedbackParameters(bool nack_enabled, | 399 void SetFeedbackParameters(bool nack_enabled, |
| 400 bool remb_enabled, | 400 bool remb_enabled, |
| 401 bool transport_cc_enabled); | 401 bool transport_cc_enabled); |
| 402 void SetRecvParameters(const ChangedRecvParameters& recv_params); | 402 void SetRecvParameters(const ChangedRecvParameters& recv_params); |
| 403 | 403 |
| 404 void RenderFrame(const webrtc::VideoFrame& frame, | 404 void OnFrame(const webrtc::VideoFrame& frame) override; |
| 405 int time_to_render_ms) override; | |
| 406 bool IsTextureSupported() const override; | |
| 407 bool SmoothsRenderedFrames() const override; | 405 bool SmoothsRenderedFrames() const override; |
| 408 bool IsDefaultStream() const; | 406 bool IsDefaultStream() const; |
| 409 | 407 |
| 410 void SetSink(rtc::VideoSinkInterface<cricket::VideoFrame>* sink); | 408 void SetSink(rtc::VideoSinkInterface<cricket::VideoFrame>* sink); |
| 411 | 409 |
| 412 VideoReceiverInfo GetVideoReceiverInfo(); | 410 VideoReceiverInfo GetVideoReceiverInfo(); |
| 413 | 411 |
| 414 private: | 412 private: |
| 415 struct AllocatedDecoder { | 413 struct AllocatedDecoder { |
| 416 AllocatedDecoder(webrtc::VideoDecoder* decoder, | 414 AllocatedDecoder(webrtc::VideoDecoder* decoder, |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 webrtc::Call::Config::BitrateConfig bitrate_config_; | 513 webrtc::Call::Config::BitrateConfig bitrate_config_; |
| 516 // TODO(deadbeef): Don't duplicate information between | 514 // TODO(deadbeef): Don't duplicate information between |
| 517 // send_params/recv_params, rtp_extensions, options, etc. | 515 // send_params/recv_params, rtp_extensions, options, etc. |
| 518 VideoSendParameters send_params_; | 516 VideoSendParameters send_params_; |
| 519 VideoRecvParameters recv_params_; | 517 VideoRecvParameters recv_params_; |
| 520 }; | 518 }; |
| 521 | 519 |
| 522 } // namespace cricket | 520 } // namespace cricket |
| 523 | 521 |
| 524 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ | 522 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ |
| OLD | NEW |