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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 bool SetRtpSendParameters(uint32_t ssrc, | 463 bool SetRtpSendParameters(uint32_t ssrc, |
464 const webrtc::RtpParameters& parameters); | 464 const webrtc::RtpParameters& parameters); |
465 webrtc::RtpParameters GetRtpReceiveParameters(uint32_t ssrc) const; | 465 webrtc::RtpParameters GetRtpReceiveParameters(uint32_t ssrc) const; |
466 bool SetRtpReceiveParameters(uint32_t ssrc, | 466 bool SetRtpReceiveParameters(uint32_t ssrc, |
467 const webrtc::RtpParameters& parameters); | 467 const webrtc::RtpParameters& parameters); |
468 | 468 |
469 // Get statistics about the current media session. | 469 // Get statistics about the current media session. |
470 bool GetStats(VoiceMediaInfo* stats); | 470 bool GetStats(VoiceMediaInfo* stats); |
471 | 471 |
472 std::vector<webrtc::RtpSource> GetSources(uint32_t ssrc) const; | 472 std::vector<webrtc::RtpSource> GetSources(uint32_t ssrc) const; |
| 473 std::vector<webrtc::RtpSource> GetSources_w(uint32_t ssrc) const; |
473 | 474 |
474 // Monitoring functions | 475 // Monitoring functions |
475 sigslot::signal2<VoiceChannel*, const std::vector<ConnectionInfo>&> | 476 sigslot::signal2<VoiceChannel*, const std::vector<ConnectionInfo>&> |
476 SignalConnectionMonitor; | 477 SignalConnectionMonitor; |
477 | 478 |
478 void StartMediaMonitor(int cms); | 479 void StartMediaMonitor(int cms); |
479 void StopMediaMonitor(); | 480 void StopMediaMonitor(); |
480 sigslot::signal2<VoiceChannel*, const VoiceMediaInfo&> SignalMediaMonitor; | 481 sigslot::signal2<VoiceChannel*, const VoiceMediaInfo&> SignalMediaMonitor; |
481 | 482 |
482 void StartAudioMonitor(int cms); | 483 void StartAudioMonitor(int cms); |
(...skipping 238 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 |