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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 private: | 126 private: |
127 // Implements MessageHandler. | 127 // Implements MessageHandler. |
128 void OnMessage(rtc::Message* msg) override; | 128 void OnMessage(rtc::Message* msg) override; |
129 | 129 |
130 // Implements MediaStreamSignalingObserver. | 130 // Implements MediaStreamSignalingObserver. |
131 void OnAddRemoteStream(MediaStreamInterface* stream) override; | 131 void OnAddRemoteStream(MediaStreamInterface* stream) override; |
132 void OnRemoveRemoteStream(MediaStreamInterface* stream) override; | 132 void OnRemoveRemoteStream(MediaStreamInterface* stream) override; |
133 void OnAddDataChannel(DataChannelInterface* data_channel) override; | 133 void OnAddDataChannel(DataChannelInterface* data_channel) override; |
134 void OnAddRemoteAudioTrack(MediaStreamInterface* stream, | 134 void OnAddRemoteAudioTrack(MediaStreamInterface* stream, |
135 AudioTrackInterface* audio_track, | 135 AudioTrackInterface* audio_track, |
136 uint32 ssrc) override; | 136 uint32_t ssrc) override; |
137 void OnAddRemoteVideoTrack(MediaStreamInterface* stream, | 137 void OnAddRemoteVideoTrack(MediaStreamInterface* stream, |
138 VideoTrackInterface* video_track, | 138 VideoTrackInterface* video_track, |
139 uint32 ssrc) override; | 139 uint32_t ssrc) override; |
140 void OnRemoveRemoteAudioTrack(MediaStreamInterface* stream, | 140 void OnRemoveRemoteAudioTrack(MediaStreamInterface* stream, |
141 AudioTrackInterface* audio_track) override; | 141 AudioTrackInterface* audio_track) override; |
142 void OnRemoveRemoteVideoTrack(MediaStreamInterface* stream, | 142 void OnRemoveRemoteVideoTrack(MediaStreamInterface* stream, |
143 VideoTrackInterface* video_track) override; | 143 VideoTrackInterface* video_track) override; |
144 void OnAddLocalAudioTrack(MediaStreamInterface* stream, | 144 void OnAddLocalAudioTrack(MediaStreamInterface* stream, |
145 AudioTrackInterface* audio_track, | 145 AudioTrackInterface* audio_track, |
146 uint32 ssrc) override; | 146 uint32_t ssrc) override; |
147 void OnAddLocalVideoTrack(MediaStreamInterface* stream, | 147 void OnAddLocalVideoTrack(MediaStreamInterface* stream, |
148 VideoTrackInterface* video_track, | 148 VideoTrackInterface* video_track, |
149 uint32 ssrc) override; | 149 uint32_t ssrc) override; |
150 void OnRemoveLocalAudioTrack(MediaStreamInterface* stream, | 150 void OnRemoveLocalAudioTrack(MediaStreamInterface* stream, |
151 AudioTrackInterface* audio_track, | 151 AudioTrackInterface* audio_track, |
152 uint32 ssrc) override; | 152 uint32_t ssrc) override; |
153 void OnRemoveLocalVideoTrack(MediaStreamInterface* stream, | 153 void OnRemoveLocalVideoTrack(MediaStreamInterface* stream, |
154 VideoTrackInterface* video_track) override; | 154 VideoTrackInterface* video_track) override; |
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; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; | 202 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; |
203 rtc::scoped_ptr<StatsCollector> stats_; | 203 rtc::scoped_ptr<StatsCollector> stats_; |
204 | 204 |
205 std::vector<rtc::scoped_refptr<RtpSenderInterface>> senders_; | 205 std::vector<rtc::scoped_refptr<RtpSenderInterface>> senders_; |
206 std::vector<rtc::scoped_refptr<RtpReceiverInterface>> receivers_; | 206 std::vector<rtc::scoped_refptr<RtpReceiverInterface>> receivers_; |
207 }; | 207 }; |
208 | 208 |
209 } // namespace webrtc | 209 } // namespace webrtc |
210 | 210 |
211 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ | 211 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ |
OLD | NEW |