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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 private: | 117 private: |
118 // Implements MessageHandler. | 118 // Implements MessageHandler. |
119 virtual void OnMessage(rtc::Message* msg); | 119 virtual void OnMessage(rtc::Message* msg); |
120 | 120 |
121 // Implements MediaStreamSignalingObserver. | 121 // Implements MediaStreamSignalingObserver. |
122 void OnAddRemoteStream(MediaStreamInterface* stream) override; | 122 void OnAddRemoteStream(MediaStreamInterface* stream) override; |
123 void OnRemoveRemoteStream(MediaStreamInterface* stream) override; | 123 void OnRemoveRemoteStream(MediaStreamInterface* stream) override; |
124 void OnAddDataChannel(DataChannelInterface* data_channel) override; | 124 void OnAddDataChannel(DataChannelInterface* data_channel) override; |
125 void OnAddRemoteAudioTrack(MediaStreamInterface* stream, | 125 void OnAddRemoteAudioTrack(MediaStreamInterface* stream, |
126 AudioTrackInterface* audio_track, | 126 AudioTrackInterface* audio_track, |
127 uint32 ssrc) override; | 127 uint32_t ssrc) override; |
128 void OnAddRemoteVideoTrack(MediaStreamInterface* stream, | 128 void OnAddRemoteVideoTrack(MediaStreamInterface* stream, |
129 VideoTrackInterface* video_track, | 129 VideoTrackInterface* video_track, |
130 uint32 ssrc) override; | 130 uint32_t ssrc) override; |
131 void OnRemoveRemoteAudioTrack(MediaStreamInterface* stream, | 131 void OnRemoveRemoteAudioTrack(MediaStreamInterface* stream, |
132 AudioTrackInterface* audio_track) override; | 132 AudioTrackInterface* audio_track) override; |
133 void OnRemoveRemoteVideoTrack(MediaStreamInterface* stream, | 133 void OnRemoveRemoteVideoTrack(MediaStreamInterface* stream, |
134 VideoTrackInterface* video_track) override; | 134 VideoTrackInterface* video_track) override; |
135 void OnAddLocalAudioTrack(MediaStreamInterface* stream, | 135 void OnAddLocalAudioTrack(MediaStreamInterface* stream, |
136 AudioTrackInterface* audio_track, | 136 AudioTrackInterface* audio_track, |
137 uint32 ssrc) override; | 137 uint32_t ssrc) override; |
138 void OnAddLocalVideoTrack(MediaStreamInterface* stream, | 138 void OnAddLocalVideoTrack(MediaStreamInterface* stream, |
139 VideoTrackInterface* video_track, | 139 VideoTrackInterface* video_track, |
140 uint32 ssrc) override; | 140 uint32_t ssrc) override; |
141 void OnRemoveLocalAudioTrack(MediaStreamInterface* stream, | 141 void OnRemoveLocalAudioTrack(MediaStreamInterface* stream, |
142 AudioTrackInterface* audio_track, | 142 AudioTrackInterface* audio_track, |
143 uint32 ssrc) override; | 143 uint32_t ssrc) override; |
144 void OnRemoveLocalVideoTrack(MediaStreamInterface* stream, | 144 void OnRemoveLocalVideoTrack(MediaStreamInterface* stream, |
145 VideoTrackInterface* video_track) override; | 145 VideoTrackInterface* video_track) override; |
146 void OnRemoveLocalStream(MediaStreamInterface* stream) override; | 146 void OnRemoveLocalStream(MediaStreamInterface* stream) override; |
147 | 147 |
148 // Implements IceObserver | 148 // Implements IceObserver |
149 void OnIceConnectionChange(IceConnectionState new_state) override; | 149 void OnIceConnectionChange(IceConnectionState new_state) override; |
150 void OnIceGatheringChange(IceGatheringState new_state) override; | 150 void OnIceGatheringChange(IceGatheringState new_state) override; |
151 void OnIceCandidate(const IceCandidateInterface* candidate) override; | 151 void OnIceCandidate(const IceCandidateInterface* candidate) override; |
152 void OnIceComplete() override; | 152 void OnIceComplete() override; |
153 void OnIceConnectionReceivingChange(bool receiving) override; | 153 void OnIceConnectionReceivingChange(bool receiving) override; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 rtc::scoped_ptr<cricket::PortAllocator> port_allocator_; | 186 rtc::scoped_ptr<cricket::PortAllocator> port_allocator_; |
187 rtc::scoped_ptr<WebRtcSession> session_; | 187 rtc::scoped_ptr<WebRtcSession> session_; |
188 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; | 188 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; |
189 rtc::scoped_ptr<MediaStreamHandlerContainer> stream_handler_container_; | 189 rtc::scoped_ptr<MediaStreamHandlerContainer> stream_handler_container_; |
190 rtc::scoped_ptr<StatsCollector> stats_; | 190 rtc::scoped_ptr<StatsCollector> stats_; |
191 }; | 191 }; |
192 | 192 |
193 } // namespace webrtc | 193 } // namespace webrtc |
194 | 194 |
195 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ | 195 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ |
OLD | NEW |