| 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 // AudioMediaProviderInterface implementation. | 232 // AudioMediaProviderInterface implementation. |
| 233 void SetAudioPlayout(uint32_t ssrc, bool enable) override; | 233 void SetAudioPlayout(uint32_t ssrc, bool enable) override; |
| 234 void SetAudioSend(uint32_t ssrc, | 234 void SetAudioSend(uint32_t ssrc, |
| 235 bool enable, | 235 bool enable, |
| 236 const cricket::AudioOptions& options, | 236 const cricket::AudioOptions& options, |
| 237 cricket::AudioRenderer* renderer) override; | 237 cricket::AudioRenderer* renderer) override; |
| 238 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override; | 238 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override; |
| 239 void SetRawAudioSink(uint32_t ssrc, | 239 void SetRawAudioSink(uint32_t ssrc, |
| 240 rtc::scoped_ptr<AudioSinkInterface> sink) override; | 240 rtc::scoped_ptr<AudioSinkInterface> sink) override; |
| 241 | 241 |
| 242 RTCRtpParameters GetAudioRtpParameters(uint32_t ssrc) override; |
| 243 bool SetAudioRtpParameters(uint32_t ssrc, |
| 244 const RTCRtpParameters& parameters) override; |
| 245 |
| 242 // Implements VideoMediaProviderInterface. | 246 // Implements VideoMediaProviderInterface. |
| 243 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override; | 247 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override; |
| 244 void SetVideoPlayout( | 248 void SetVideoPlayout( |
| 245 uint32_t ssrc, | 249 uint32_t ssrc, |
| 246 bool enable, | 250 bool enable, |
| 247 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override; | 251 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override; |
| 248 void SetVideoSend(uint32_t ssrc, | 252 void SetVideoSend(uint32_t ssrc, |
| 249 bool enable, | 253 bool enable, |
| 250 const cricket::VideoOptions* options) override; | 254 const cricket::VideoOptions* options) override; |
| 251 | 255 |
| 256 RTCRtpParameters GetVideoRtpParameters(uint32_t ssrc) override; |
| 257 bool SetVideoRtpParameters(uint32_t ssrc, |
| 258 const RTCRtpParameters& parameters) override; |
| 259 |
| 252 // Implements DtmfProviderInterface. | 260 // Implements DtmfProviderInterface. |
| 253 virtual bool CanInsertDtmf(const std::string& track_id); | 261 virtual bool CanInsertDtmf(const std::string& track_id); |
| 254 virtual bool InsertDtmf(const std::string& track_id, | 262 virtual bool InsertDtmf(const std::string& track_id, |
| 255 int code, int duration); | 263 int code, int duration); |
| 256 virtual sigslot::signal0<>* GetOnDestroyedSignal(); | 264 virtual sigslot::signal0<>* GetOnDestroyedSignal(); |
| 257 | 265 |
| 258 // Implements DataChannelProviderInterface. | 266 // Implements DataChannelProviderInterface. |
| 259 bool SendData(const cricket::SendDataParams& params, | 267 bool SendData(const cricket::SendDataParams& params, |
| 260 const rtc::Buffer& payload, | 268 const rtc::Buffer& payload, |
| 261 cricket::SendDataResult* result) override; | 269 cricket::SendDataResult* result) override; |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 PeerConnectionInterface::BundlePolicy bundle_policy_; | 505 PeerConnectionInterface::BundlePolicy bundle_policy_; |
| 498 | 506 |
| 499 // Declares the RTCP mux policy for the WebRTCSession. | 507 // Declares the RTCP mux policy for the WebRTCSession. |
| 500 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; | 508 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; |
| 501 | 509 |
| 502 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); | 510 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
| 503 }; | 511 }; |
| 504 } // namespace webrtc | 512 } // namespace webrtc |
| 505 | 513 |
| 506 #endif // WEBRTC_API_WEBRTCSESSION_H_ | 514 #endif // WEBRTC_API_WEBRTCSESSION_H_ |
| OLD | NEW |