Simplifying VideoReceiver and JitterBuffer.
Removing frame_buffers_ array and dual-receiver mechanism. Also adding some thread annotations to VCMJitterBuffer. R=stefan@webrtc.org BUG=4014 Review URL: https://webrtc-codereview.appspot.com/27239004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7735 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -68,7 +68,6 @@ public:
|
||||
kNone,
|
||||
kHardNack,
|
||||
kSoftNack,
|
||||
kDualDecoder,
|
||||
kReferenceSelection
|
||||
};
|
||||
|
||||
@ -423,17 +422,6 @@ public:
|
||||
virtual int RegisterRenderBufferSizeCallback(
|
||||
VCMRenderBufferSizeCallback* callback) = 0;
|
||||
|
||||
// Waits for the next frame in the dual jitter buffer to become complete
|
||||
// (waits no longer than maxWaitTimeMs), then passes it to the dual decoder
|
||||
// for decoding. This will never trigger a render callback. Should be
|
||||
// called frequently, and as long as it returns 1 it should be called again
|
||||
// as soon as possible.
|
||||
//
|
||||
// Return value : 1, if a frame was decoded
|
||||
// 0, if no frame was decoded
|
||||
// < 0, on error.
|
||||
virtual int32_t DecodeDualFrame(uint16_t maxWaitTimeMs = 200) = 0;
|
||||
|
||||
// Reset the decoder state to the initial state.
|
||||
//
|
||||
// Return value : VCM_OK, on success.
|
||||
|
Reference in New Issue
Block a user