Add get/set base min delay to neteq and acm_receiver.
Bug: webrtc:10287 Change-Id: Ia25f11eda1e2ac65e58a060c4f5332189214e189 Reviewed-on: https://webrtc-review.googlesource.com/c/121560 Commit-Queue: Ruslan Burakov <kuddai@google.com> Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26547}
This commit is contained in:
committed by
Commit Bot
parent
9f6a0d5d21
commit
9bee67c5c9
@ -194,6 +194,16 @@ class NetEq {
|
||||
// the |max_delay_ms| value in the NetEq::Config struct.
|
||||
virtual bool SetMaximumDelay(int delay_ms) = 0;
|
||||
|
||||
// Sets a base minimum delay in milliseconds for packet buffer. The minimum
|
||||
// delay which is set via |SetMinimumDelay| can't be lower than base minimum
|
||||
// delay. Calling this method is similar to setting the |min_delay_ms| value
|
||||
// in the NetEq::Config struct. Returns true if the base minimum is
|
||||
// successfully applied, otherwise false is returned.
|
||||
virtual bool SetBaseMinimumDelayMs(int delay_ms) = 0;
|
||||
|
||||
// Returns current value of base minimum delay in milliseconds.
|
||||
virtual int GetBaseMinimumDelayMs() const = 0;
|
||||
|
||||
// Returns the current target delay in ms. This includes any extra delay
|
||||
// requested through SetMinimumDelay.
|
||||
virtual int TargetDelayMs() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user