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

Unified Diff: webrtc/voice_engine/channel.cc

Issue 2455013003: Clean up abs-send-time for audio. (Closed)
Patch Set: Fix tests. Created 4 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/voice_engine/channel.cc
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc
index deea05772716abfaabadcf0725ece599ace6cb36..570ccda7da5e7754d354661ee39ea1389872009b 100644
--- a/webrtc/voice_engine/channel.cc
+++ b/webrtc/voice_engine/channel.cc
@@ -2383,21 +2383,6 @@ int Channel::SetReceiveAudioLevelIndicationStatus(bool enable,
return 0;
}
-int Channel::SetSendAbsoluteSenderTimeStatus(bool enable, unsigned char id) {
- return SetSendRtpHeaderExtension(enable, kRtpExtensionAbsoluteSendTime, id);
-}
-
-int Channel::SetReceiveAbsoluteSenderTimeStatus(bool enable, unsigned char id) {
- rtp_header_parser_->DeregisterRtpHeaderExtension(
- kRtpExtensionAbsoluteSendTime);
- if (enable &&
- !rtp_header_parser_->RegisterRtpHeaderExtension(
- kRtpExtensionAbsoluteSendTime, id)) {
- return -1;
- }
- return 0;
-}
-
void Channel::EnableSendTransportSequenceNumber(int id) {
int ret =
SetSendRtpHeaderExtension(true, kRtpExtensionTransportSequenceNumber, id);

Powered by Google App Engine
This is Rietveld 408576698