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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 const std::string& track_id, | 196 const std::string& track_id, |
197 uint32_t ssrc); | 197 uint32_t ssrc); |
198 void DestroyReceiver(const std::string& track_id); | 198 void DestroyReceiver(const std::string& track_id); |
199 void DestroyAudioSender(MediaStreamInterface* stream, | 199 void DestroyAudioSender(MediaStreamInterface* stream, |
200 AudioTrackInterface* audio_track, | 200 AudioTrackInterface* audio_track, |
201 uint32_t ssrc); | 201 uint32_t ssrc); |
202 void DestroyVideoSender(MediaStreamInterface* stream, | 202 void DestroyVideoSender(MediaStreamInterface* stream, |
203 VideoTrackInterface* video_track); | 203 VideoTrackInterface* video_track); |
204 | 204 |
205 // Implements IceObserver | 205 // Implements IceObserver |
206 void OnIceConnectionChange(IceConnectionState new_state) override; | 206 void OnIceConnectionStateChange(IceConnectionState new_state) override; |
207 void OnIceGatheringChange(IceGatheringState new_state) override; | 207 void OnIceGatheringChange(IceGatheringState new_state) override; |
208 void OnIceCandidate(const IceCandidateInterface* candidate) override; | 208 void OnIceCandidate(const IceCandidateInterface* candidate) override; |
209 void OnIceCandidatesRemoved( | 209 void OnIceCandidatesRemoved( |
210 const std::vector<cricket::Candidate>& candidates) override; | 210 const std::vector<cricket::Candidate>& candidates) override; |
211 void OnIceConnectionReceivingChange(bool receiving) override; | 211 void OnIceConnectionReceivingChange(bool receiving) override; |
212 | 212 |
213 // Signals from WebRtcSession. | 213 // Signals from WebRtcSession. |
214 void OnSessionStateChange(WebRtcSession* session, WebRtcSession::State state); | 214 void OnSessionStateChange(WebRtcSession* session, WebRtcSession::State state); |
215 void ChangeSignalingState(SignalingState signaling_state); | 215 void ChangeSignalingState(SignalingState signaling_state); |
216 | 216 |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> | 446 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> |
447 receivers_; | 447 receivers_; |
448 std::unique_ptr<WebRtcSession> session_; | 448 std::unique_ptr<WebRtcSession> session_; |
449 std::unique_ptr<StatsCollector> stats_; | 449 std::unique_ptr<StatsCollector> stats_; |
450 rtc::scoped_refptr<RTCStatsCollector> stats_collector_; | 450 rtc::scoped_refptr<RTCStatsCollector> stats_collector_; |
451 }; | 451 }; |
452 | 452 |
453 } // namespace webrtc | 453 } // namespace webrtc |
454 | 454 |
455 #endif // WEBRTC_PC_PEERCONNECTION_H_ | 455 #endif // WEBRTC_PC_PEERCONNECTION_H_ |
OLD | NEW |