Reland of Enable audio streams to send padding. (patchset #4 id:60001 of https://codereview.webrtc.org/2652893004/ )
Original issue's description:
> Enable audio streams to send padding.
>
> Useful if bitrate probing is to be used with audio streams.
>
> BUG=webrtc:7043
>
> Review-Url: https://codereview.webrtc.org/2652893004
> Cr-Commit-Position: refs/heads/master@{#16404}
> Committed: e35f89a484
BUG=webrtc:7043
Review-Url: https://codereview.webrtc.org/2675703002
Cr-Commit-Position: refs/heads/master@{#16433}
This commit is contained in:
@ -617,6 +617,15 @@ int32_t ModuleRtpRtcpImpl::DeregisterSendRtpHeaderExtension(
|
||||
return rtp_sender_.DeregisterRtpHeaderExtension(type);
|
||||
}
|
||||
|
||||
bool ModuleRtpRtcpImpl::HasBweExtensions() const {
|
||||
return rtp_sender_.IsRtpHeaderExtensionRegistered(
|
||||
kRtpExtensionTransportSequenceNumber) ||
|
||||
rtp_sender_.IsRtpHeaderExtensionRegistered(
|
||||
kRtpExtensionAbsoluteSendTime) ||
|
||||
rtp_sender_.IsRtpHeaderExtensionRegistered(
|
||||
kRtpExtensionTransmissionTimeOffset);
|
||||
}
|
||||
|
||||
// (TMMBR) Temporary Max Media Bit Rate.
|
||||
bool ModuleRtpRtcpImpl::TMMBR() const {
|
||||
return rtcp_sender_.TMMBR();
|
||||
|
||||
Reference in New Issue
Block a user