Added logic for kSelectiveErrors to VCMJitterBuffer and corresponding unit tests.
R=marpan@google.com, mikhal@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1943004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4503 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -83,6 +83,12 @@ class VCMFrameBuffer : public VCMEncodedFrame {
|
||||
// them.
|
||||
int NotDecodablePackets() const;
|
||||
|
||||
// If _state is kStateDecodable, changes it to kStateIncomplete.
|
||||
// Used by the dual decoder. After the mode is changed to kNoErrors from
|
||||
// kWithErrors or kSelective errors, any states that have been marked
|
||||
// decodable and are not complete are marked as non-decodable.
|
||||
void ClearStateIfIncomplete();
|
||||
|
||||
private:
|
||||
void SetState(VCMFrameBufferStateEnum state); // Set state of frame
|
||||
|
||||
|
||||
Reference in New Issue
Block a user