Signal to NetEq Controller if arrived packets are DTX packets.
This CL also puts the arguments in a struct to allow for easier future additions. Bug: webrtc:11005 Change-Id: I47bf664e7106b724eb1fc42299c42bbf022393ef Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/188385 Commit-Queue: Ivo Creusen <ivoc@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Jakob Ivarsson <jakobi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32409}
This commit is contained in:
@ -72,12 +72,9 @@ class DecisionLogic : public NetEqController {
|
||||
|
||||
int TargetLevelMs() const override { return delay_manager_->TargetDelayMs(); }
|
||||
|
||||
absl::optional<int> PacketArrived(bool is_cng_or_dtmf,
|
||||
size_t packet_length_samples,
|
||||
absl::optional<int> PacketArrived(int fs_hz,
|
||||
bool should_update_stats,
|
||||
uint16_t main_sequence_number,
|
||||
uint32_t main_timestamp,
|
||||
int fs_hz) override;
|
||||
const PacketArrivedInfo& info) override;
|
||||
|
||||
void RegisterEmptyPacket() override {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user