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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 private: | 120 private: |
121 // Implements MessageHandler. | 121 // Implements MessageHandler. |
122 void OnMessage(rtc::Message* msg) override; | 122 void OnMessage(rtc::Message* msg) override; |
123 | 123 |
124 // Implements MediaStreamSignalingObserver. | 124 // Implements MediaStreamSignalingObserver. |
125 void OnAddRemoteStream(MediaStreamInterface* stream) override; | 125 void OnAddRemoteStream(MediaStreamInterface* stream) override; |
126 void OnRemoveRemoteStream(MediaStreamInterface* stream) override; | 126 void OnRemoveRemoteStream(MediaStreamInterface* stream) override; |
127 void OnAddDataChannel(DataChannelInterface* data_channel) override; | 127 void OnAddDataChannel(DataChannelInterface* data_channel) override; |
128 void OnAddRemoteAudioTrack(MediaStreamInterface* stream, | 128 void OnAddRemoteAudioTrack(MediaStreamInterface* stream, |
129 AudioTrackInterface* audio_track, | 129 AudioTrackInterface* audio_track, |
130 uint32 ssrc) override; | 130 uint32_t ssrc) override; |
131 void OnAddRemoteVideoTrack(MediaStreamInterface* stream, | 131 void OnAddRemoteVideoTrack(MediaStreamInterface* stream, |
132 VideoTrackInterface* video_track, | 132 VideoTrackInterface* video_track, |
133 uint32 ssrc) override; | 133 uint32_t ssrc) override; |
134 void OnRemoveRemoteAudioTrack(MediaStreamInterface* stream, | 134 void OnRemoveRemoteAudioTrack(MediaStreamInterface* stream, |
135 AudioTrackInterface* audio_track) override; | 135 AudioTrackInterface* audio_track) override; |
136 void OnRemoveRemoteVideoTrack(MediaStreamInterface* stream, | 136 void OnRemoveRemoteVideoTrack(MediaStreamInterface* stream, |
137 VideoTrackInterface* video_track) override; | 137 VideoTrackInterface* video_track) override; |
138 void OnAddLocalAudioTrack(MediaStreamInterface* stream, | 138 void OnAddLocalAudioTrack(MediaStreamInterface* stream, |
139 AudioTrackInterface* audio_track, | 139 AudioTrackInterface* audio_track, |
140 uint32 ssrc) override; | 140 uint32_t ssrc) override; |
141 void OnAddLocalVideoTrack(MediaStreamInterface* stream, | 141 void OnAddLocalVideoTrack(MediaStreamInterface* stream, |
142 VideoTrackInterface* video_track, | 142 VideoTrackInterface* video_track, |
143 uint32 ssrc) override; | 143 uint32_t ssrc) override; |
144 void OnRemoveLocalAudioTrack(MediaStreamInterface* stream, | 144 void OnRemoveLocalAudioTrack(MediaStreamInterface* stream, |
145 AudioTrackInterface* audio_track, | 145 AudioTrackInterface* audio_track, |
146 uint32 ssrc) override; | 146 uint32_t ssrc) override; |
147 void OnRemoveLocalVideoTrack(MediaStreamInterface* stream, | 147 void OnRemoveLocalVideoTrack(MediaStreamInterface* stream, |
148 VideoTrackInterface* video_track) override; | 148 VideoTrackInterface* video_track) override; |
149 void OnRemoveLocalStream(MediaStreamInterface* stream) override; | 149 void OnRemoveLocalStream(MediaStreamInterface* stream) override; |
150 | 150 |
151 // Implements IceObserver | 151 // Implements IceObserver |
152 void OnIceConnectionChange(IceConnectionState new_state) override; | 152 void OnIceConnectionChange(IceConnectionState new_state) override; |
153 void OnIceGatheringChange(IceGatheringState new_state) override; | 153 void OnIceGatheringChange(IceGatheringState new_state) override; |
154 void OnIceCandidate(const IceCandidateInterface* candidate) override; | 154 void OnIceCandidate(const IceCandidateInterface* candidate) override; |
155 void OnIceComplete() override; | 155 void OnIceComplete() override; |
156 void OnIceConnectionReceivingChange(bool receiving) override; | 156 void OnIceConnectionReceivingChange(bool receiving) override; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; | 196 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; |
197 rtc::scoped_ptr<StatsCollector> stats_; | 197 rtc::scoped_ptr<StatsCollector> stats_; |
198 | 198 |
199 std::vector<rtc::scoped_refptr<RtpSenderInterface>> senders_; | 199 std::vector<rtc::scoped_refptr<RtpSenderInterface>> senders_; |
200 std::vector<rtc::scoped_refptr<RtpReceiverInterface>> receivers_; | 200 std::vector<rtc::scoped_refptr<RtpReceiverInterface>> receivers_; |
201 }; | 201 }; |
202 | 202 |
203 } // namespace webrtc | 203 } // namespace webrtc |
204 | 204 |
205 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ | 205 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ |
OLD | NEW |