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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override; | 260 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override; |
261 void SetVideoSend(uint32_t ssrc, | 261 void SetVideoSend(uint32_t ssrc, |
262 bool enable, | 262 bool enable, |
263 const cricket::VideoOptions* options) override; | 263 const cricket::VideoOptions* options) override; |
264 | 264 |
265 RtpParameters GetVideoRtpParameters(uint32_t ssrc) const override; | 265 RtpParameters GetVideoRtpParameters(uint32_t ssrc) const override; |
266 bool SetVideoRtpParameters(uint32_t ssrc, | 266 bool SetVideoRtpParameters(uint32_t ssrc, |
267 const RtpParameters& parameters) override; | 267 const RtpParameters& parameters) override; |
268 | 268 |
269 // Implements DtmfProviderInterface. | 269 // Implements DtmfProviderInterface. |
270 bool CanInsertDtmf(const std::string& track_id) override; | 270 virtual bool CanInsertDtmf(const std::string& track_id); |
271 bool InsertDtmf(const std::string& track_id, | 271 virtual bool InsertDtmf(const std::string& track_id, |
272 int code, int duration) override; | 272 int code, int duration); |
273 sigslot::signal0<>* GetOnDestroyedSignal() override; | 273 virtual sigslot::signal0<>* GetOnDestroyedSignal(); |
274 | 274 |
275 // Implements DataChannelProviderInterface. | 275 // Implements DataChannelProviderInterface. |
276 bool SendData(const cricket::SendDataParams& params, | 276 bool SendData(const cricket::SendDataParams& params, |
277 const rtc::CopyOnWriteBuffer& payload, | 277 const rtc::CopyOnWriteBuffer& payload, |
278 cricket::SendDataResult* result) override; | 278 cricket::SendDataResult* result) override; |
279 bool ConnectDataChannel(DataChannel* webrtc_data_channel) override; | 279 bool ConnectDataChannel(DataChannel* webrtc_data_channel) override; |
280 void DisconnectDataChannel(DataChannel* webrtc_data_channel) override; | 280 void DisconnectDataChannel(DataChannel* webrtc_data_channel) override; |
281 void AddSctpDataStream(int sid) override; | 281 void AddSctpDataStream(int sid) override; |
282 void RemoveSctpDataStream(int sid) override; | 282 void RemoveSctpDataStream(int sid) override; |
283 bool ReadyToSendData() const override; | 283 bool ReadyToSendData() const override; |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 PeerConnectionInterface::BundlePolicy bundle_policy_; | 515 PeerConnectionInterface::BundlePolicy bundle_policy_; |
516 | 516 |
517 // Declares the RTCP mux policy for the WebRTCSession. | 517 // Declares the RTCP mux policy for the WebRTCSession. |
518 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; | 518 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; |
519 | 519 |
520 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); | 520 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
521 }; | 521 }; |
522 } // namespace webrtc | 522 } // namespace webrtc |
523 | 523 |
524 #endif // WEBRTC_API_WEBRTCSESSION_H_ | 524 #endif // WEBRTC_API_WEBRTCSESSION_H_ |
OLD | NEW |