| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // TODO(pbos): Remove, use external handlers only. | 76 // TODO(pbos): Remove, use external handlers only. |
| 77 class DefaultUnsignalledSsrcHandler : public UnsignalledSsrcHandler { | 77 class DefaultUnsignalledSsrcHandler : public UnsignalledSsrcHandler { |
| 78 public: | 78 public: |
| 79 DefaultUnsignalledSsrcHandler(); | 79 DefaultUnsignalledSsrcHandler(); |
| 80 Action OnUnsignalledSsrc(WebRtcVideoChannel2* channel, | 80 Action OnUnsignalledSsrc(WebRtcVideoChannel2* channel, |
| 81 uint32_t ssrc) override; | 81 uint32_t ssrc) override; |
| 82 | 82 |
| 83 rtc::VideoSinkInterface<webrtc::VideoFrame>* GetDefaultSink() const; | 83 rtc::VideoSinkInterface<webrtc::VideoFrame>* GetDefaultSink() const; |
| 84 void SetDefaultSink(VideoMediaChannel* channel, | 84 void SetDefaultSink(VideoMediaChannel* channel, |
| 85 rtc::VideoSinkInterface<webrtc::VideoFrame>* sink); | 85 rtc::VideoSinkInterface<webrtc::VideoFrame>* sink); |
| 86 |
| 87 uint32_t default_recv_ssrc() const { return default_recv_ssrc_; } |
| 88 |
| 86 virtual ~DefaultUnsignalledSsrcHandler() = default; | 89 virtual ~DefaultUnsignalledSsrcHandler() = default; |
| 87 | 90 |
| 88 private: | 91 private: |
| 89 uint32_t default_recv_ssrc_; | 92 uint32_t default_recv_ssrc_; |
| 90 rtc::VideoSinkInterface<webrtc::VideoFrame>* default_sink_; | 93 rtc::VideoSinkInterface<webrtc::VideoFrame>* default_sink_; |
| 91 }; | 94 }; |
| 92 | 95 |
| 93 // WebRtcVideoEngine2 is used for the new native WebRTC Video API (webrtc:1667). | 96 // WebRtcVideoEngine2 is used for the new native WebRTC Video API (webrtc:1667). |
| 94 class WebRtcVideoEngine2 { | 97 class WebRtcVideoEngine2 { |
| 95 public: | 98 public: |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 // send_params/recv_params, rtp_extensions, options, etc. | 501 // send_params/recv_params, rtp_extensions, options, etc. |
| 499 VideoSendParameters send_params_; | 502 VideoSendParameters send_params_; |
| 500 VideoOptions default_send_options_; | 503 VideoOptions default_send_options_; |
| 501 VideoRecvParameters recv_params_; | 504 VideoRecvParameters recv_params_; |
| 502 int64_t last_stats_log_ms_; | 505 int64_t last_stats_log_ms_; |
| 503 }; | 506 }; |
| 504 | 507 |
| 505 } // namespace cricket | 508 } // namespace cricket |
| 506 | 509 |
| 507 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ | 510 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ |
| OLD | NEW |