Add one API for implementing Initial delay.
R=minyue@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1939004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4475 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -275,4 +275,14 @@ void PacketBuffer::DeleteAllPackets(PacketList* packet_list) {
|
||||
}
|
||||
}
|
||||
|
||||
void PacketBuffer::BufferStat(int* num_packest,
|
||||
int* max_num_packets,
|
||||
int* current_memory_bytes,
|
||||
int* max_memory_bytes) const {
|
||||
*num_packest = buffer_.size();
|
||||
*max_num_packets = max_number_of_packets_;
|
||||
*current_memory_bytes = current_memory_bytes_;
|
||||
*max_memory_bytes = max_memory_bytes_;
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user