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:
agalusza@google.com
2013-08-08 01:12:33 +00:00
parent 676ff1ed89
commit d177c10e2d
8 changed files with 375 additions and 55 deletions

View File

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