X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Fwebrtc%2Fmodules%2Fvideo_coding%2Fmain%2Fsource%2Fjitter_buffer.h;h=182b80b4e7ed71162122250ba86626fe1ebd4d55;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=6ed9cfb85c61915699f43fece125e5670e3090ed;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/webrtc/modules/video_coding/main/source/jitter_buffer.h b/src/third_party/webrtc/modules/video_coding/main/source/jitter_buffer.h index 6ed9cfb..182b80b 100644 --- a/src/third_party/webrtc/modules/video_coding/main/source/jitter_buffer.h +++ b/src/third_party/webrtc/modules/video_coding/main/source/jitter_buffer.h @@ -103,6 +103,12 @@ class VCMJitterBuffer { // won't be able to decode them. int num_not_decodable_packets() const; + // Gets number of packets received. + int num_packets() const; + + // Gets number of duplicated packets received. + int num_duplicated_packets() const; + // Gets number of packets discarded by the jitter buffer. int num_discarded_packets() const; @@ -271,6 +277,8 @@ class VCMJitterBuffer { uint16_t EstimatedLowSequenceNumber(const VCMFrameBuffer& frame) const; + void UpdateHistograms(); + Clock* clock_; // If we are running (have started) or not. bool running_; @@ -303,6 +311,10 @@ class VCMJitterBuffer { int num_consecutive_old_frames_; // Number of packets in a row that have been too old. int num_consecutive_old_packets_; + // Number of packets received. + int num_packets_; + // Number of duplicated packets received. + int num_duplicated_packets_; // Number of packets discarded by the jitter buffer. int num_discarded_packets_;