Add more NetEq information to NetEqState.
Some important NetEq information was not available in NetEqState, which meant it was not available on the API. This CL adds additional information. Bug: webrtc:9667 Change-Id: I702707c7d60472f488047d48fb286f839c5608dc Reviewed-on: https://webrtc-review.googlesource.com/c/102300 Reviewed-by: Minyue Li <minyue@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Ivo Creusen <ivoc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24985}
This commit is contained in:
@ -47,9 +47,16 @@ class NetEqSimulator {
|
||||
int current_delay_ms = 0;
|
||||
// An indicator that packet loss occurred since the last GetAudio event.
|
||||
bool packet_loss_occurred = false;
|
||||
// An indicator that the packet buffer has been flushed since the last
|
||||
// GetAudio event.
|
||||
bool packet_buffer_flushed = false;
|
||||
// Indicates if the next needed packet is available in the buffer.
|
||||
bool next_packet_available = false;
|
||||
// The inter-arrival times in ms of the packets that have arrived since the
|
||||
// last GetAudio event.
|
||||
std::vector<int> packet_iat_ms;
|
||||
// The current packet size in ms.
|
||||
int packet_size_ms = 0;
|
||||
};
|
||||
|
||||
// Runs the simulation until we hit the next GetAudio event. If the simulation
|
||||
|
||||
Reference in New Issue
Block a user