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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 void OnRemoveLocalStream(MediaStreamInterface* stream) override; | 155 void OnRemoveLocalStream(MediaStreamInterface* stream) override; |
156 | 156 |
157 // Implements IceObserver | 157 // Implements IceObserver |
158 void OnIceConnectionChange(IceConnectionState new_state) override; | 158 void OnIceConnectionChange(IceConnectionState new_state) override; |
159 void OnIceGatheringChange(IceGatheringState new_state) override; | 159 void OnIceGatheringChange(IceGatheringState new_state) override; |
160 void OnIceCandidate(const IceCandidateInterface* candidate) override; | 160 void OnIceCandidate(const IceCandidateInterface* candidate) override; |
161 void OnIceComplete() override; | 161 void OnIceComplete() override; |
162 void OnIceConnectionReceivingChange(bool receiving) override; | 162 void OnIceConnectionReceivingChange(bool receiving) override; |
163 | 163 |
164 // Signals from WebRtcSession. | 164 // Signals from WebRtcSession. |
165 void OnSessionStateChange(cricket::BaseSession* session, | 165 void OnSessionStateChange(WebRtcSession* session, WebRtcSession::State state); |
166 cricket::BaseSession::State state); | |
167 void ChangeSignalingState(SignalingState signaling_state); | 166 void ChangeSignalingState(SignalingState signaling_state); |
168 | 167 |
169 rtc::Thread* signaling_thread() const { | 168 rtc::Thread* signaling_thread() const { |
170 return factory_->signaling_thread(); | 169 return factory_->signaling_thread(); |
171 } | 170 } |
172 | 171 |
173 void PostSetSessionDescriptionFailure(SetSessionDescriptionObserver* observer, | 172 void PostSetSessionDescriptionFailure(SetSessionDescriptionObserver* observer, |
174 const std::string& error); | 173 const std::string& error); |
175 | 174 |
176 bool IsClosed() const { | 175 bool IsClosed() const { |
(...skipping 25 matching lines...) Expand all Loading... |
202 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; | 201 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; |
203 rtc::scoped_ptr<StatsCollector> stats_; | 202 rtc::scoped_ptr<StatsCollector> stats_; |
204 | 203 |
205 std::vector<rtc::scoped_refptr<RtpSenderInterface>> senders_; | 204 std::vector<rtc::scoped_refptr<RtpSenderInterface>> senders_; |
206 std::vector<rtc::scoped_refptr<RtpReceiverInterface>> receivers_; | 205 std::vector<rtc::scoped_refptr<RtpReceiverInterface>> receivers_; |
207 }; | 206 }; |
208 | 207 |
209 } // namespace webrtc | 208 } // namespace webrtc |
210 | 209 |
211 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ | 210 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ |
OLD | NEW |