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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 const std::vector<VideoCodec>& recv_codecs, | 138 const std::vector<VideoCodec>& recv_codecs, |
139 WebRtcVideoEncoderFactory* external_encoder_factory, | 139 WebRtcVideoEncoderFactory* external_encoder_factory, |
140 WebRtcVideoDecoderFactory* external_decoder_factory); | 140 WebRtcVideoDecoderFactory* external_decoder_factory); |
141 ~WebRtcVideoChannel2() override; | 141 ~WebRtcVideoChannel2() override; |
142 | 142 |
143 // VideoMediaChannel implementation | 143 // VideoMediaChannel implementation |
144 rtc::DiffServCodePoint PreferredDscp() const override; | 144 rtc::DiffServCodePoint PreferredDscp() const override; |
145 | 145 |
146 bool SetSendParameters(const VideoSendParameters& params) override; | 146 bool SetSendParameters(const VideoSendParameters& params) override; |
147 bool SetRecvParameters(const VideoRecvParameters& params) override; | 147 bool SetRecvParameters(const VideoRecvParameters& params) override; |
148 webrtc::RtpParameters GetRtpParameters(uint32_t ssrc) const override; | 148 webrtc::RtpParameters GetRtpSendParameters(uint32_t ssrc) const override; |
149 bool SetRtpParameters(uint32_t ssrc, | 149 bool SetRtpSendParameters(uint32_t ssrc, |
150 const webrtc::RtpParameters& parameters) override; | 150 const webrtc::RtpParameters& parameters) override; |
| 151 webrtc::RtpParameters GetRtpReceiveParameters(uint32_t ssrc) const override; |
| 152 bool SetRtpReceiveParameters( |
| 153 uint32_t ssrc, |
| 154 const webrtc::RtpParameters& parameters) override; |
151 bool GetSendCodec(VideoCodec* send_codec) override; | 155 bool GetSendCodec(VideoCodec* send_codec) override; |
152 bool SetSend(bool send) override; | 156 bool SetSend(bool send) override; |
153 bool SetVideoSend(uint32_t ssrc, | 157 bool SetVideoSend(uint32_t ssrc, |
154 bool mute, | 158 bool mute, |
155 const VideoOptions* options) override; | 159 const VideoOptions* options) override; |
156 bool AddSendStream(const StreamParams& sp) override; | 160 bool AddSendStream(const StreamParams& sp) override; |
157 bool RemoveSendStream(uint32_t ssrc) override; | 161 bool RemoveSendStream(uint32_t ssrc) override; |
158 bool AddRecvStream(const StreamParams& sp) override; | 162 bool AddRecvStream(const StreamParams& sp) override; |
159 bool AddRecvStream(const StreamParams& sp, bool default_stream); | 163 bool AddRecvStream(const StreamParams& sp, bool default_stream); |
160 bool RemoveRecvStream(uint32_t ssrc) override; | 164 bool RemoveRecvStream(uint32_t ssrc) override; |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 // TODO(deadbeef): Don't duplicate information between | 538 // TODO(deadbeef): Don't duplicate information between |
535 // send_params/recv_params, rtp_extensions, options, etc. | 539 // send_params/recv_params, rtp_extensions, options, etc. |
536 VideoSendParameters send_params_; | 540 VideoSendParameters send_params_; |
537 VideoOptions default_send_options_; | 541 VideoOptions default_send_options_; |
538 VideoRecvParameters recv_params_; | 542 VideoRecvParameters recv_params_; |
539 }; | 543 }; |
540 | 544 |
541 } // namespace cricket | 545 } // namespace cricket |
542 | 546 |
543 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ | 547 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ |
OLD | NEW |