| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 | 227 |
| 228 // Get the id used as a media stream track's "id" field from ssrc. | 228 // Get the id used as a media stream track's "id" field from ssrc. |
| 229 virtual bool GetLocalTrackIdBySsrc(uint32_t ssrc, std::string* track_id); | 229 virtual bool GetLocalTrackIdBySsrc(uint32_t ssrc, std::string* track_id); |
| 230 virtual bool GetRemoteTrackIdBySsrc(uint32_t ssrc, std::string* track_id); | 230 virtual bool GetRemoteTrackIdBySsrc(uint32_t ssrc, std::string* track_id); |
| 231 | 231 |
| 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::AudioSource* source) 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 // Implements VideoMediaProviderInterface. | 242 // Implements VideoMediaProviderInterface. |
| 243 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override; | 243 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override; |
| 244 void SetVideoPlayout( | 244 void SetVideoPlayout( |
| 245 uint32_t ssrc, | 245 uint32_t ssrc, |
| 246 bool enable, | 246 bool enable, |
| 247 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override; | 247 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override; |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 PeerConnectionInterface::BundlePolicy bundle_policy_; | 497 PeerConnectionInterface::BundlePolicy bundle_policy_; |
| 498 | 498 |
| 499 // Declares the RTCP mux policy for the WebRTCSession. | 499 // Declares the RTCP mux policy for the WebRTCSession. |
| 500 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; | 500 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; |
| 501 | 501 |
| 502 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); | 502 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
| 503 }; | 503 }; |
| 504 } // namespace webrtc | 504 } // namespace webrtc |
| 505 | 505 |
| 506 #endif // WEBRTC_API_WEBRTCSESSION_H_ | 506 #endif // WEBRTC_API_WEBRTCSESSION_H_ |
| OLD | NEW |