OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 // SessionDescription and SessionDescriptionInterface and remove | 191 // SessionDescription and SessionDescriptionInterface and remove |
192 // these if possible. | 192 // these if possible. |
193 const cricket::SessionDescription* base_local_description() const { | 193 const cricket::SessionDescription* base_local_description() const { |
194 return BaseSession::local_description(); | 194 return BaseSession::local_description(); |
195 } | 195 } |
196 const cricket::SessionDescription* base_remote_description() const { | 196 const cricket::SessionDescription* base_remote_description() const { |
197 return BaseSession::remote_description(); | 197 return BaseSession::remote_description(); |
198 } | 198 } |
199 | 199 |
200 // Get the id used as a media stream track's "id" field from ssrc. | 200 // Get the id used as a media stream track's "id" field from ssrc. |
201 virtual bool GetLocalTrackIdBySsrc(uint32 ssrc, std::string* track_id); | 201 virtual bool GetLocalTrackIdBySsrc(uint32_t ssrc, std::string* track_id); |
202 virtual bool GetRemoteTrackIdBySsrc(uint32 ssrc, std::string* track_id); | 202 virtual bool GetRemoteTrackIdBySsrc(uint32_t ssrc, std::string* track_id); |
203 | 203 |
204 // AudioMediaProviderInterface implementation. | 204 // AudioMediaProviderInterface implementation. |
205 void SetAudioPlayout(uint32 ssrc, | 205 void SetAudioPlayout(uint32_t ssrc, |
206 bool enable, | 206 bool enable, |
207 cricket::AudioRenderer* renderer) override; | 207 cricket::AudioRenderer* renderer) override; |
208 void SetAudioSend(uint32 ssrc, | 208 void SetAudioSend(uint32_t ssrc, |
209 bool enable, | 209 bool enable, |
210 const cricket::AudioOptions& options, | 210 const cricket::AudioOptions& options, |
211 cricket::AudioRenderer* renderer) override; | 211 cricket::AudioRenderer* renderer) override; |
212 void SetAudioPlayoutVolume(uint32 ssrc, double volume) override; | 212 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override; |
213 | 213 |
214 // Implements VideoMediaProviderInterface. | 214 // Implements VideoMediaProviderInterface. |
215 bool SetCaptureDevice(uint32 ssrc, cricket::VideoCapturer* camera) override; | 215 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override; |
216 void SetVideoPlayout(uint32 ssrc, | 216 void SetVideoPlayout(uint32_t ssrc, |
217 bool enable, | 217 bool enable, |
218 cricket::VideoRenderer* renderer) override; | 218 cricket::VideoRenderer* renderer) override; |
219 void SetVideoSend(uint32 ssrc, | 219 void SetVideoSend(uint32_t ssrc, |
220 bool enable, | 220 bool enable, |
221 const cricket::VideoOptions* options) override; | 221 const cricket::VideoOptions* options) override; |
222 | 222 |
223 // Implements DtmfProviderInterface. | 223 // Implements DtmfProviderInterface. |
224 virtual bool CanInsertDtmf(const std::string& track_id); | 224 virtual bool CanInsertDtmf(const std::string& track_id); |
225 virtual bool InsertDtmf(const std::string& track_id, | 225 virtual bool InsertDtmf(const std::string& track_id, |
226 int code, int duration); | 226 int code, int duration); |
227 virtual sigslot::signal0<>* GetOnDestroyedSignal(); | 227 virtual sigslot::signal0<>* GetOnDestroyedSignal(); |
228 | 228 |
229 // Implements DataChannelProviderInterface. | 229 // Implements DataChannelProviderInterface. |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 PeerConnectionInterface::BundlePolicy bundle_policy_; | 425 PeerConnectionInterface::BundlePolicy bundle_policy_; |
426 | 426 |
427 // Declares the RTCP mux policy for the WebRTCSession. | 427 // Declares the RTCP mux policy for the WebRTCSession. |
428 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; | 428 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; |
429 | 429 |
430 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); | 430 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
431 }; | 431 }; |
432 } // namespace webrtc | 432 } // namespace webrtc |
433 | 433 |
434 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_ | 434 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_ |
OLD | NEW |