| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 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 10 matching lines...) Expand all Loading... |
| 21 public: | 21 public: |
| 22 // RTCP | 22 // RTCP |
| 23 int SetRTCPStatus(int channel, bool enable) override; | 23 int SetRTCPStatus(int channel, bool enable) override; |
| 24 | 24 |
| 25 int GetRTCPStatus(int channel, bool& enabled) override; | 25 int GetRTCPStatus(int channel, bool& enabled) override; |
| 26 | 26 |
| 27 int SetRTCP_CNAME(int channel, const char cName[256]) override; | 27 int SetRTCP_CNAME(int channel, const char cName[256]) override; |
| 28 | 28 |
| 29 int GetRemoteRTCP_CNAME(int channel, char cName[256]) override; | 29 int GetRemoteRTCP_CNAME(int channel, char cName[256]) override; |
| 30 | 30 |
| 31 int GetRemoteRTCPData(int channel, | |
| 32 unsigned int& NTPHigh, | |
| 33 unsigned int& NTPLow, | |
| 34 unsigned int& timestamp, | |
| 35 unsigned int& playoutTimestamp, | |
| 36 unsigned int* jitter = NULL, | |
| 37 unsigned short* fractionLost = NULL) override; | |
| 38 | |
| 39 // SSRC | 31 // SSRC |
| 40 int SetLocalSSRC(int channel, unsigned int ssrc) override; | 32 int SetLocalSSRC(int channel, unsigned int ssrc) override; |
| 41 | 33 |
| 42 int GetLocalSSRC(int channel, unsigned int& ssrc) override; | 34 int GetLocalSSRC(int channel, unsigned int& ssrc) override; |
| 43 | 35 |
| 44 int GetRemoteSSRC(int channel, unsigned int& ssrc) override; | 36 int GetRemoteSSRC(int channel, unsigned int& ssrc) override; |
| 45 | 37 |
| 46 // RTP Header Extension for Client-to-Mixer Audio Level Indication | 38 // RTP Header Extension for Client-to-Mixer Audio Level Indication |
| 47 int SetSendAudioLevelIndicationStatus(int channel, | 39 int SetSendAudioLevelIndicationStatus(int channel, |
| 48 bool enable, | 40 bool enable, |
| 49 unsigned char id) override; | 41 unsigned char id) override; |
| 50 int SetReceiveAudioLevelIndicationStatus(int channel, | |
| 51 bool enable, | |
| 52 unsigned char id) override; | |
| 53 | |
| 54 // Statistics | |
| 55 int GetRTPStatistics(int channel, | |
| 56 unsigned int& averageJitterMs, | |
| 57 unsigned int& maxJitterMs, | |
| 58 unsigned int& discardedPackets) override; | |
| 59 | 42 |
| 60 int GetRTCPStatistics(int channel, CallStatistics& stats) override; | 43 int GetRTCPStatistics(int channel, CallStatistics& stats) override; |
| 61 | 44 |
| 62 int GetRemoteRTCPReportBlocks( | |
| 63 int channel, | |
| 64 std::vector<ReportBlock>* report_blocks) override; | |
| 65 | |
| 66 // NACK | |
| 67 int SetNACKStatus(int channel, bool enable, int maxNoPackets) override; | |
| 68 | |
| 69 protected: | 45 protected: |
| 70 VoERTP_RTCPImpl(voe::SharedData* shared); | 46 VoERTP_RTCPImpl(voe::SharedData* shared); |
| 71 ~VoERTP_RTCPImpl() override; | 47 ~VoERTP_RTCPImpl() override; |
| 72 | 48 |
| 73 private: | 49 private: |
| 74 voe::SharedData* _shared; | 50 voe::SharedData* _shared; |
| 75 }; | 51 }; |
| 76 | 52 |
| 77 } // namespace webrtc | 53 } // namespace webrtc |
| 78 | 54 |
| 79 #endif // WEBRTC_VOICE_ENGINE_VOE_RTP_RTCP_IMPL_H | 55 #endif // WEBRTC_VOICE_ENGINE_VOE_RTP_RTCP_IMPL_H |
| OLD | NEW |