OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 bool SetRtpSendParameters(uint32_t ssrc, | 464 bool SetRtpSendParameters(uint32_t ssrc, |
465 const webrtc::RtpParameters& parameters); | 465 const webrtc::RtpParameters& parameters); |
466 webrtc::RtpParameters GetRtpReceiveParameters(uint32_t ssrc) const; | 466 webrtc::RtpParameters GetRtpReceiveParameters(uint32_t ssrc) const; |
467 bool SetRtpReceiveParameters(uint32_t ssrc, | 467 bool SetRtpReceiveParameters(uint32_t ssrc, |
468 const webrtc::RtpParameters& parameters); | 468 const webrtc::RtpParameters& parameters); |
469 | 469 |
470 // Get statistics about the current media session. | 470 // Get statistics about the current media session. |
471 bool GetStats(VoiceMediaInfo* stats); | 471 bool GetStats(VoiceMediaInfo* stats); |
472 | 472 |
473 std::vector<webrtc::RtpSource> GetSources(uint32_t ssrc) const; | 473 std::vector<webrtc::RtpSource> GetSources(uint32_t ssrc) const; |
| 474 std::vector<webrtc::RtpSource> GetSources_w(uint32_t ssrc) const; |
474 | 475 |
475 // Monitoring functions | 476 // Monitoring functions |
476 sigslot::signal2<VoiceChannel*, const std::vector<ConnectionInfo>&> | 477 sigslot::signal2<VoiceChannel*, const std::vector<ConnectionInfo>&> |
477 SignalConnectionMonitor; | 478 SignalConnectionMonitor; |
478 | 479 |
479 void StartMediaMonitor(int cms); | 480 void StartMediaMonitor(int cms); |
480 void StopMediaMonitor(); | 481 void StopMediaMonitor(); |
481 sigslot::signal2<VoiceChannel*, const VoiceMediaInfo&> SignalMediaMonitor; | 482 sigslot::signal2<VoiceChannel*, const VoiceMediaInfo&> SignalMediaMonitor; |
482 | 483 |
483 void StartAudioMonitor(int cms); | 484 void StartAudioMonitor(int cms); |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 // SetSendParameters. | 722 // SetSendParameters. |
722 DataSendParameters last_send_params_; | 723 DataSendParameters last_send_params_; |
723 // Last DataRecvParameters sent down to the media_channel() via | 724 // Last DataRecvParameters sent down to the media_channel() via |
724 // SetRecvParameters. | 725 // SetRecvParameters. |
725 DataRecvParameters last_recv_params_; | 726 DataRecvParameters last_recv_params_; |
726 }; | 727 }; |
727 | 728 |
728 } // namespace cricket | 729 } // namespace cricket |
729 | 730 |
730 #endif // WEBRTC_PC_CHANNEL_H_ | 731 #endif // WEBRTC_PC_CHANNEL_H_ |
OLD | NEW |