OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 // AudioMediaProviderInterface implementation. | 239 // AudioMediaProviderInterface implementation. |
240 void SetAudioPlayout(uint32_t ssrc, bool enable) override; | 240 void SetAudioPlayout(uint32_t ssrc, bool enable) override; |
241 void SetAudioSend(uint32_t ssrc, | 241 void SetAudioSend(uint32_t ssrc, |
242 bool enable, | 242 bool enable, |
243 const cricket::AudioOptions& options, | 243 const cricket::AudioOptions& options, |
244 cricket::AudioSource* source) override; | 244 cricket::AudioSource* source) override; |
245 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override; | 245 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override; |
246 void SetRawAudioSink(uint32_t ssrc, | 246 void SetRawAudioSink(uint32_t ssrc, |
247 std::unique_ptr<AudioSinkInterface> sink) override; | 247 std::unique_ptr<AudioSinkInterface> sink) override; |
248 | 248 |
249 RtpParameters GetAudioRtpParameters(uint32_t ssrc) const override; | 249 RtpParameters GetAudioRtpSendParameters(uint32_t ssrc) const override; |
250 bool SetAudioRtpParameters(uint32_t ssrc, | 250 bool SetAudioRtpSendParameters(uint32_t ssrc, |
251 const RtpParameters& parameters) override; | 251 const RtpParameters& parameters) override; |
| 252 RtpParameters GetAudioRtpReceiveParameters(uint32_t ssrc) const override; |
| 253 bool SetAudioRtpReceiveParameters(uint32_t ssrc, |
| 254 const RtpParameters& parameters) override; |
252 | 255 |
253 // Implements VideoMediaProviderInterface. | 256 // Implements VideoMediaProviderInterface. |
254 bool SetSource( | 257 bool SetSource( |
255 uint32_t ssrc, | 258 uint32_t ssrc, |
256 rtc::VideoSourceInterface<cricket::VideoFrame>* source) override; | 259 rtc::VideoSourceInterface<cricket::VideoFrame>* source) override; |
257 void SetVideoPlayout( | 260 void SetVideoPlayout( |
258 uint32_t ssrc, | 261 uint32_t ssrc, |
259 bool enable, | 262 bool enable, |
260 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override; | 263 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override; |
261 void SetVideoSend(uint32_t ssrc, | 264 void SetVideoSend(uint32_t ssrc, |
262 bool enable, | 265 bool enable, |
263 const cricket::VideoOptions* options) override; | 266 const cricket::VideoOptions* options) override; |
264 | 267 |
265 RtpParameters GetVideoRtpParameters(uint32_t ssrc) const override; | 268 RtpParameters GetVideoRtpSendParameters(uint32_t ssrc) const override; |
266 bool SetVideoRtpParameters(uint32_t ssrc, | 269 bool SetVideoRtpSendParameters(uint32_t ssrc, |
267 const RtpParameters& parameters) override; | 270 const RtpParameters& parameters) override; |
| 271 RtpParameters GetVideoRtpReceiveParameters(uint32_t ssrc) const override; |
| 272 bool SetVideoRtpReceiveParameters(uint32_t ssrc, |
| 273 const RtpParameters& parameters) override; |
268 | 274 |
269 // Implements DtmfProviderInterface. | 275 // Implements DtmfProviderInterface. |
270 virtual bool CanInsertDtmf(const std::string& track_id); | 276 virtual bool CanInsertDtmf(const std::string& track_id); |
271 virtual bool InsertDtmf(const std::string& track_id, | 277 virtual bool InsertDtmf(const std::string& track_id, |
272 int code, int duration); | 278 int code, int duration); |
273 virtual sigslot::signal0<>* GetOnDestroyedSignal(); | 279 virtual sigslot::signal0<>* GetOnDestroyedSignal(); |
274 | 280 |
275 // Implements DataChannelProviderInterface. | 281 // Implements DataChannelProviderInterface. |
276 bool SendData(const cricket::SendDataParams& params, | 282 bool SendData(const cricket::SendDataParams& params, |
277 const rtc::CopyOnWriteBuffer& payload, | 283 const rtc::CopyOnWriteBuffer& payload, |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 PeerConnectionInterface::BundlePolicy bundle_policy_; | 521 PeerConnectionInterface::BundlePolicy bundle_policy_; |
516 | 522 |
517 // Declares the RTCP mux policy for the WebRTCSession. | 523 // Declares the RTCP mux policy for the WebRTCSession. |
518 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; | 524 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; |
519 | 525 |
520 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); | 526 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
521 }; | 527 }; |
522 } // namespace webrtc | 528 } // namespace webrtc |
523 | 529 |
524 #endif // WEBRTC_API_WEBRTCSESSION_H_ | 530 #endif // WEBRTC_API_WEBRTCSESSION_H_ |
OLD | NEW |