| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 // Implements MessageHandler. | 185 // Implements MessageHandler. |
| 186 void OnMessage(rtc::Message* msg) override; | 186 void OnMessage(rtc::Message* msg) override; |
| 187 | 187 |
| 188 void CreateAudioReceiver(MediaStreamInterface* stream, | 188 void CreateAudioReceiver(MediaStreamInterface* stream, |
| 189 const std::string& track_id, | 189 const std::string& track_id, |
| 190 uint32_t ssrc); | 190 uint32_t ssrc); |
| 191 | 191 |
| 192 void CreateVideoReceiver(MediaStreamInterface* stream, | 192 void CreateVideoReceiver(MediaStreamInterface* stream, |
| 193 const std::string& track_id, | 193 const std::string& track_id, |
| 194 uint32_t ssrc); | 194 uint32_t ssrc); |
| 195 void DestroyReceiver(const std::string& track_id); | 195 void DestroyReceiver(MediaStreamInterface* stream, |
| 196 const std::string& track_id); |
| 196 | 197 |
| 197 // May be called either by AddStream/RemoveStream, or when a track is | 198 // May be called either by AddStream/RemoveStream, or when a track is |
| 198 // added/removed from a stream previously added via AddStream. | 199 // added/removed from a stream previously added via AddStream. |
| 199 void AddAudioTrack(AudioTrackInterface* track, MediaStreamInterface* stream); | 200 void AddAudioTrack(AudioTrackInterface* track, MediaStreamInterface* stream); |
| 200 void RemoveAudioTrack(AudioTrackInterface* track, | 201 void RemoveAudioTrack(AudioTrackInterface* track, |
| 201 MediaStreamInterface* stream); | 202 MediaStreamInterface* stream); |
| 202 void AddVideoTrack(VideoTrackInterface* track, MediaStreamInterface* stream); | 203 void AddVideoTrack(VideoTrackInterface* track, MediaStreamInterface* stream); |
| 203 void RemoveVideoTrack(VideoTrackInterface* track, | 204 void RemoveVideoTrack(VideoTrackInterface* track, |
| 204 MediaStreamInterface* stream); | 205 MediaStreamInterface* stream); |
| 205 | 206 |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 std::vector<rtc::scoped_refptr<RtpSenderProxyWithInternal<RtpSenderInternal>>> | 458 std::vector<rtc::scoped_refptr<RtpSenderProxyWithInternal<RtpSenderInternal>>> |
| 458 senders_; | 459 senders_; |
| 459 std::vector< | 460 std::vector< |
| 460 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> | 461 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> |
| 461 receivers_; | 462 receivers_; |
| 462 }; | 463 }; |
| 463 | 464 |
| 464 } // namespace webrtc | 465 } // namespace webrtc |
| 465 | 466 |
| 466 #endif // WEBRTC_PC_PEERCONNECTION_H_ | 467 #endif // WEBRTC_PC_PEERCONNECTION_H_ |
| OLD | NEW |