Style cleanup in UpdateTmmbr:
function names style updated, unused return type removed. Comment style fixed, redundant comments removed. pass-by-pointer parameter changed to pass-by-value because can't be nullptr any more. NOTRY=true BUG=webrtc:5565 Review-Url: https://codereview.webrtc.org/2258523005 Cr-Commit-Position: refs/heads/master@{#13848}
This commit is contained in:
@ -198,8 +198,8 @@ void ModuleRtpRtcpImpl::Process() {
|
||||
rtcp_sender_.SendRTCP(GetFeedbackState(), kRtcpReport);
|
||||
|
||||
if (UpdateRTCPReceiveInformationTimers()) {
|
||||
// A receiver has timed out
|
||||
rtcp_receiver_.UpdateTMMBR();
|
||||
// A receiver has timed out.
|
||||
rtcp_receiver_.UpdateTmmbr();
|
||||
}
|
||||
}
|
||||
|
||||
@ -661,9 +661,8 @@ void ModuleRtpRtcpImpl::SetTMMBRStatus(const bool enable) {
|
||||
rtcp_sender_.SetTMMBRStatus(enable);
|
||||
}
|
||||
|
||||
void ModuleRtpRtcpImpl::SetTMMBN(
|
||||
const std::vector<rtcp::TmmbItem>* bounding_set) {
|
||||
rtcp_sender_.SetTMMBN(bounding_set);
|
||||
void ModuleRtpRtcpImpl::SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) {
|
||||
rtcp_sender_.SetTmmbn(std::move(bounding_set));
|
||||
}
|
||||
|
||||
// Returns the currently configured retransmission mode.
|
||||
|
||||
Reference in New Issue
Block a user