Remove some dead code from VCMJitterBuffer.
BUG=none R=pbos@webrtc.org Review URL: https://codereview.webrtc.org/2073073003 . Cr-Commit-Position: refs/heads/master@{#13193}
This commit is contained in:
@ -129,10 +129,6 @@ class VCMJitterBuffer {
|
||||
// was started.
|
||||
FrameCounts FrameStatistics() const;
|
||||
|
||||
// The number of packets discarded by the jitter buffer because the decoder
|
||||
// won't be able to decode them.
|
||||
int num_not_decodable_packets() const;
|
||||
|
||||
// Gets number of packets received.
|
||||
int num_packets() const;
|
||||
|
||||
@ -145,12 +141,6 @@ class VCMJitterBuffer {
|
||||
// Statistics, Calculate frame and bit rates.
|
||||
void IncomingRateStatistics(unsigned int* framerate, unsigned int* bitrate);
|
||||
|
||||
// Checks if the packet sequence will be complete if the next frame would be
|
||||
// grabbed for decoding. That is, if a frame has been lost between the
|
||||
// last decoded frame and the next, or if the next frame is missing one
|
||||
// or more packets.
|
||||
bool CompleteSequenceWithNextFrame();
|
||||
|
||||
// Wait |max_wait_time_ms| for a complete frame to arrive.
|
||||
// If found, a pointer to the frame is returned. Returns nullptr otherwise.
|
||||
VCMEncodedFrame* NextCompleteFrame(uint32_t max_wait_time_ms);
|
||||
@ -208,7 +198,6 @@ class VCMJitterBuffer {
|
||||
// Set decode error mode - Should not be changed in the middle of the
|
||||
// session. Changes will not influence frames already in the buffer.
|
||||
void SetDecodeErrorMode(VCMDecodeErrorMode error_mode);
|
||||
int64_t LastDecodedTimestamp() const;
|
||||
VCMDecodeErrorMode decode_error_mode() const { return decode_error_mode_; }
|
||||
|
||||
void RegisterStatsCallback(VCMReceiveStatisticsCallback* callback);
|
||||
|
||||
Reference in New Issue
Block a user