Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: webrtc/voice_engine/include/voe_rtp_rtcp.h

Issue 2455013003: Clean up abs-send-time for audio. (Closed)
Patch Set: Rebase. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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,
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
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
OLDNEW
« no previous file with comments | « webrtc/voice_engine/channel_proxy.cc ('k') | webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_extensions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698