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:
@ -223,7 +223,7 @@ class StreamDataTestCallback : public StreamDataCountersCallback {
|
||||
// wherever possible.
|
||||
struct RtpSenderContext {
|
||||
explicit 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