| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | |
| 3 * | |
| 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 | |
| 6 * tree. An additional intellectual property rights grant can be found | |
| 7 * in the file PATENTS. All contributing project authors may | |
| 8 * be found in the AUTHORS file in the root of the source tree. | |
| 9 */ | |
| 10 | |
| 11 #ifndef VOICE_ENGINE_VOE_RTP_RTCP_IMPL_H_ | |
| 12 #define VOICE_ENGINE_VOE_RTP_RTCP_IMPL_H_ | |
| 13 | |
| 14 #include "voice_engine/include/voe_rtp_rtcp.h" | |
| 15 | |
| 16 #include "voice_engine/shared_data.h" | |
| 17 | |
| 18 namespace webrtc { | |
| 19 | |
| 20 class VoERTP_RTCPImpl : public VoERTP_RTCP { | |
| 21 public: | |
| 22 // RTCP | |
| 23 int SetRTCPStatus(int channel, bool enable) override; | |
| 24 | |
| 25 int GetRTCPStatus(int channel, bool& enabled) override; | |
| 26 | |
| 27 int SetRTCP_CNAME(int channel, const char cName[256]) override; | |
| 28 | |
| 29 int GetRemoteRTCP_CNAME(int channel, char cName[256]) override; | |
| 30 | |
| 31 // SSRC | |
| 32 int SetLocalSSRC(int channel, unsigned int ssrc) override; | |
| 33 | |
| 34 int GetLocalSSRC(int channel, unsigned int& ssrc) override; | |
| 35 | |
| 36 int GetRemoteSSRC(int channel, unsigned int& ssrc) override; | |
| 37 | |
| 38 // RTP Header Extension for Client-to-Mixer Audio Level Indication | |
| 39 int SetSendAudioLevelIndicationStatus(int channel, | |
| 40 bool enable, | |
| 41 unsigned char id) override; | |
| 42 | |
| 43 int GetRTCPStatistics(int channel, CallStatistics& stats) override; | |
| 44 | |
| 45 protected: | |
| 46 VoERTP_RTCPImpl(voe::SharedData* shared); | |
| 47 ~VoERTP_RTCPImpl() override; | |
| 48 | |
| 49 private: | |
| 50 voe::SharedData* _shared; | |
| 51 }; | |
| 52 | |
| 53 } // namespace webrtc | |
| 54 | |
| 55 #endif // VOICE_ENGINE_VOE_RTP_RTCP_IMPL_H_ | |
| OLD | NEW |