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@5654 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -153,15 +153,19 @@ class RTPSender : public RTPSenderInterface, public Bitrate::Observer {
|
||||
|
||||
uint16_t BuildRTPHeaderExtension(uint8_t* data_buffer) const;
|
||||
|
||||
uint8_t BuildTransmissionTimeOffsetExtension(
|
||||
uint8_t *data_buffer) const;
|
||||
uint8_t BuildAbsoluteSendTimeExtension(
|
||||
uint8_t* data_buffer) const;
|
||||
uint8_t BuildTransmissionTimeOffsetExtension(uint8_t *data_buffer) const;
|
||||
uint8_t BuildAudioLevelExtension(uint8_t* data_buffer) const;
|
||||
uint8_t BuildAbsoluteSendTimeExtension(uint8_t* data_buffer) const;
|
||||
|
||||
bool UpdateTransmissionTimeOffset(uint8_t *rtp_packet,
|
||||
const uint16_t rtp_packet_length,
|
||||
const RTPHeader &rtp_header,
|
||||
const int64_t time_diff_ms) const;
|
||||
bool UpdateAudioLevel(uint8_t *rtp_packet,
|
||||
const uint16_t rtp_packet_length,
|
||||
const RTPHeader &rtp_header,
|
||||
const bool is_voiced,
|
||||
const uint8_t dBov) const;
|
||||
bool UpdateAbsoluteSendTime(uint8_t *rtp_packet,
|
||||
const uint16_t rtp_packet_length,
|
||||
const RTPHeader &rtp_header,
|
||||
@ -228,12 +232,6 @@ class RTPSender : public RTPSenderInterface, public Bitrate::Observer {
|
||||
// packet in silence (CNG).
|
||||
int32_t SetAudioPacketSize(const uint16_t packet_size_samples);
|
||||
|
||||
// Set status and ID for header-extension-for-audio-level-indication.
|
||||
int32_t SetAudioLevelIndicationStatus(const bool enable, const uint8_t ID);
|
||||
|
||||
// Get status and ID for header-extension-for-audio-level-indication.
|
||||
int32_t AudioLevelIndicationStatus(bool *enable, uint8_t *id) const;
|
||||
|
||||
// Store the audio level in d_bov for
|
||||
// header-extension-for-audio-level-indication.
|
||||
int32_t SetAudioLevel(const uint8_t level_d_bov);
|
||||
|
||||
Reference in New Issue
Block a user