Chromium Code Reviews| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 126 | 126 |
| 127 // Sets the status of receiving rtp-audio-level-indication on a specific | 127 // Sets the status of receiving rtp-audio-level-indication on a specific |
| 128 // |channel|. | 128 // |channel|. |
| 129 virtual int SetReceiveAudioLevelIndicationStatus(int channel, | 129 virtual int SetReceiveAudioLevelIndicationStatus(int channel, |
| 130 bool enable, | 130 bool enable, |
| 131 unsigned char id = 1) { | 131 unsigned char id = 1) { |
| 132 // TODO(wu): Remove default implementation once talk is updated. | 132 // TODO(wu): Remove default implementation once talk is updated. |
| 133 return 0; | 133 return 0; |
| 134 } | 134 } |
| 135 | 135 |
| 136 // Sets the status of sending absolute sender time on a specific |channel|. | |
| 137 virtual int SetSendAbsoluteSenderTimeStatus(int channel, | |
|
the sun
2016/10/27 16:09:17
Do you need to PSA this change to the legacy, but
stefan-webrtc
2016/10/31 15:40:27
In theory, yes, but I'm pretty sure it's being unu
| |
| 138 bool enable, | |
| 139 unsigned char id) = 0; | |
| 140 | |
| 141 // Sets status of receiving absolute sender time on a specific |channel|. | |
| 142 virtual int SetReceiveAbsoluteSenderTimeStatus(int channel, | |
| 143 bool enable, | |
| 144 unsigned char id) = 0; | |
| 145 | |
| 146 // Sets the RTCP status on a specific |channel|. | 136 // Sets the RTCP status on a specific |channel|. |
| 147 virtual int SetRTCPStatus(int channel, bool enable) = 0; | 137 virtual int SetRTCPStatus(int channel, bool enable) = 0; |
| 148 | 138 |
| 149 // Gets the RTCP status on a specific |channel|. | 139 // Gets the RTCP status on a specific |channel|. |
| 150 virtual int GetRTCPStatus(int channel, bool& enabled) = 0; | 140 virtual int GetRTCPStatus(int channel, bool& enabled) = 0; |
| 151 | 141 |
| 152 // Sets the canonical name (CNAME) parameter for RTCP reports on a | 142 // Sets the canonical name (CNAME) parameter for RTCP reports on a |
| 153 // specific |channel|. | 143 // specific |channel|. |
| 154 virtual int SetRTCP_CNAME(int channel, const char cName[256]) = 0; | 144 virtual int SetRTCP_CNAME(int channel, const char cName[256]) = 0; |
| 155 | 145 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 194 virtual int SetNACKStatus(int channel, bool enable, int maxNoPackets) = 0; | 184 virtual int SetNACKStatus(int channel, bool enable, int maxNoPackets) = 0; |
| 195 | 185 |
| 196 protected: | 186 protected: |
| 197 VoERTP_RTCP() {} | 187 VoERTP_RTCP() {} |
| 198 virtual ~VoERTP_RTCP() {} | 188 virtual ~VoERTP_RTCP() {} |
| 199 }; | 189 }; |
| 200 | 190 |
| 201 } // namespace webrtc | 191 } // namespace webrtc |
| 202 | 192 |
| 203 #endif // #ifndef WEBRTC_VOICE_ENGINE_VOE_RTP_RTCP_H | 193 #endif // #ifndef WEBRTC_VOICE_ENGINE_VOE_RTP_RTCP_H |
| OLD | NEW |