Include buffer size limits in NetEq config struct
This change includes max_packets_in_buffer and max_delay_ms in the NetEq config struct. The packet buffer is also no longer limited in terms of payload sizes (bytes), only number of packets. The old constants governing the packet buffer limits are deleted. BUG=3083 R=turaj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14389004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5989 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -186,9 +186,7 @@ class NetEqImpl : public webrtc::NetEq {
|
||||
virtual void FlushBuffers();
|
||||
|
||||
virtual void PacketBufferStatistics(int* current_num_packets,
|
||||
int* max_num_packets,
|
||||
int* current_memory_size_bytes,
|
||||
int* max_memory_size_bytes) const;
|
||||
int* max_num_packets) const;
|
||||
|
||||
// Get sequence number and timestamp of the latest RTP.
|
||||
// This method is to facilitate NACK.
|
||||
|
||||
Reference in New Issue
Block a user