summaryrefslogtreecommitdiff
path: root/voice_engine/voe_rtp_rtcp_impl.h
diff options
context:
space:
mode:
authorwu@webrtc.org <wu@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-03-06 23:49:08 +0000
committerwu@webrtc.org <wu@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-03-06 23:49:08 +0000
commit9a8232203a0793a3bbd7edc8bba04a4b48e00210 (patch)
tree7c2ab0789be2304ee9d5f13cde4f54b86c132393 /voice_engine/voe_rtp_rtcp_impl.h
parent7a560797ddeafa0472a0bd85aa9ad62b2530ffba (diff)
downloadwebrtc-9a8232203a0793a3bbd7edc8bba04a4b48e00210.tar.gz
Help to land 7969005 on behalf of solenberg. The review and try is done in 7969005.
- Add ability to VoE to send Absolute Sender Time header extension. - Refactor handling of RTP header extensions in VoE to work the same as in ViE. - Add API to enable receiving Absolute Sender Time in VoE. This is part of the work to include audio packets in bandwidth estimation, for better accuracy in estimates. BUG= TBR=solenberg@webrtc.org,henrikg@webrtc.org,stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/9509004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5654 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/voe_rtp_rtcp_impl.h')
-rw-r--r--voice_engine/voe_rtp_rtcp_impl.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/voice_engine/voe_rtp_rtcp_impl.h b/voice_engine/voe_rtp_rtcp_impl.h
index 1b8b1e92..bd1308ae 100644
--- a/voice_engine/voe_rtp_rtcp_impl.h
+++ b/voice_engine/voe_rtp_rtcp_impl.h
@@ -63,13 +63,17 @@ public:
virtual int GetRemoteSSRC(int channel, unsigned int& ssrc);
// RTP Header Extension for Client-to-Mixer Audio Level Indication
- virtual int SetRTPAudioLevelIndicationStatus(int channel,
- bool enable,
- unsigned char ID);
-
- virtual int GetRTPAudioLevelIndicationStatus(int channel,
- bool& enabled,
- unsigned char& ID);
+ virtual int SetSendAudioLevelIndicationStatus(int channel,
+ bool enable,
+ unsigned char id);
+
+ // RTP Header Extension for Absolute Sender Time
+ virtual int SetSendAbsoluteSenderTimeStatus(int channel,
+ bool enable,
+ unsigned char id);
+ virtual int SetReceiveAbsoluteSenderTimeStatus(int channel,
+ bool enable,
+ unsigned char id);
// CSRC
virtual int GetRemoteCSRCs(int channel, unsigned int arrCSRC[15]);