Add ability to disable padding prioritization.
This allows trading off some potential media quality for CPU usage. Bug: webrtc:8975 Change-Id: I447a03f596e9e711ba5d7038fe71f27bd80bf795 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/172085 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30936}
This commit is contained in:
@ -40,7 +40,7 @@ const int64_t kDefaultExpectedRetransmissionTimeMs = 125;
|
||||
|
||||
ModuleRtpRtcpImpl::RtpSenderContext::RtpSenderContext(
|
||||
const RtpRtcp::Configuration& config)
|
||||
: packet_history(config.clock),
|
||||
: packet_history(config.clock, config.enable_rtx_padding_prioritization),
|
||||
packet_sender(config, &packet_history),
|
||||
non_paced_sender(&packet_sender),
|
||||
packet_generator(
|
||||
|
||||
Reference in New Issue
Block a user