Delete all logic related to VCMDecodeErrorMode
Bug: webrtc:8064 Change-Id: I345f342a314d88390fff8b305b121076b45a51e8 Reviewed-on: https://webrtc-review.googlesource.com/c/116692 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26283}
This commit is contained in:
@ -145,11 +145,6 @@ class VCMJitterBuffer {
|
||||
// If found, a pointer to the frame is returned. Returns nullptr otherwise.
|
||||
VCMEncodedFrame* NextCompleteFrame(uint32_t max_wait_time_ms);
|
||||
|
||||
// Locates a frame for decoding (even an incomplete) without delay.
|
||||
// The function returns true once such a frame is found, its corresponding
|
||||
// timestamp is returned. Otherwise, returns false.
|
||||
bool NextMaybeIncompleteTimestamp(uint32_t* timestamp);
|
||||
|
||||
// Extract frame corresponding to input timestamp.
|
||||
// Frame will be set to a decoding state.
|
||||
VCMEncodedFrame* ExtractAndSetDecode(uint32_t timestamp);
|
||||
@ -195,11 +190,6 @@ class VCMJitterBuffer {
|
||||
// Returns a list of the sequence numbers currently missing.
|
||||
std::vector<uint16_t> GetNackList(bool* request_key_frame);
|
||||
|
||||
// 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);
|
||||
VCMDecodeErrorMode decode_error_mode() const { return decode_error_mode_; }
|
||||
|
||||
void RegisterStatsCallback(VCMReceiveStatisticsCallback* callback);
|
||||
|
||||
private:
|
||||
@ -367,7 +357,6 @@ class VCMJitterBuffer {
|
||||
int max_packet_age_to_nack_; // Measured in sequence numbers.
|
||||
int max_incomplete_time_ms_;
|
||||
|
||||
VCMDecodeErrorMode decode_error_mode_;
|
||||
// Estimated rolling average of packets per frame
|
||||
float average_packets_per_frame_;
|
||||
// average_packets_per_frame converges fast if we have fewer than this many
|
||||
|
Reference in New Issue
Block a user