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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 | 225 |
226 // Get the id used as a media stream track's "id" field from ssrc. | 226 // Get the id used as a media stream track's "id" field from ssrc. |
227 virtual bool GetLocalTrackIdBySsrc(uint32_t ssrc, std::string* track_id); | 227 virtual bool GetLocalTrackIdBySsrc(uint32_t ssrc, std::string* track_id); |
228 virtual bool GetRemoteTrackIdBySsrc(uint32_t ssrc, std::string* track_id); | 228 virtual bool GetRemoteTrackIdBySsrc(uint32_t ssrc, std::string* track_id); |
229 | 229 |
230 // AudioMediaProviderInterface implementation. | 230 // AudioMediaProviderInterface implementation. |
231 void SetAudioPlayout(uint32_t ssrc, bool enable) override; | 231 void SetAudioPlayout(uint32_t ssrc, bool enable) override; |
232 void SetAudioSend(uint32_t ssrc, | 232 void SetAudioSend(uint32_t ssrc, |
233 bool enable, | 233 bool enable, |
234 const cricket::AudioOptions& options, | 234 const cricket::AudioOptions& options, |
235 cricket::AudioRenderer* renderer) override; | 235 cricket::AudioSource* source) override; |
236 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override; | 236 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override; |
237 void SetRawAudioSink(uint32_t ssrc, | 237 void SetRawAudioSink(uint32_t ssrc, |
238 rtc::scoped_ptr<AudioSinkInterface> sink) override; | 238 rtc::scoped_ptr<AudioSinkInterface> sink) override; |
239 | 239 |
240 // Implements VideoMediaProviderInterface. | 240 // Implements VideoMediaProviderInterface. |
241 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override; | 241 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override; |
242 void SetVideoPlayout( | 242 void SetVideoPlayout( |
243 uint32_t ssrc, | 243 uint32_t ssrc, |
244 bool enable, | 244 bool enable, |
245 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override; | 245 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override; |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 PeerConnectionInterface::BundlePolicy bundle_policy_; | 495 PeerConnectionInterface::BundlePolicy bundle_policy_; |
496 | 496 |
497 // Declares the RTCP mux policy for the WebRTCSession. | 497 // Declares the RTCP mux policy for the WebRTCSession. |
498 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; | 498 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; |
499 | 499 |
500 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); | 500 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
501 }; | 501 }; |
502 } // namespace webrtc | 502 } // namespace webrtc |
503 | 503 |
504 #endif // WEBRTC_API_WEBRTCSESSION_H_ | 504 #endif // WEBRTC_API_WEBRTCSESSION_H_ |
OLD | NEW |