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:
turaj@webrtc.org
2013-08-02 18:07:13 +00:00
parent 89c674053e
commit 7df9706a01
5 changed files with 35 additions and 2 deletions

View File

@ -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