Removed lines preventing simultaneous kHardNack and decoding with errors. Also made changes recommended by gcl lint (with the exception of changing non-const references to pointers).
Propagated orthogonal API for decoding with errors from VideoCodingModule to VCMJitterBuffer. Modified VCMJitterBuffer to allow three error modes: kNoErrors, kSelectiveErrors, kWithErrors. R=marpan@google.com, mikhal@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1846004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4463 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -15,6 +15,8 @@
|
||||
#include "webrtc/modules/video_coding/main/source/packet.h"
|
||||
#include "webrtc/modules/video_coding/main/source/timing.h"
|
||||
#include "webrtc/system_wrappers/interface/critical_section_wrapper.h"
|
||||
#include "webrtc/modules/video_coding/main/interface/video_coding.h"
|
||||
#include "webrtc/modules/video_coding/main/interface/video_coding_defines.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -78,8 +80,8 @@ class VCMReceiver {
|
||||
int SetMinReceiverDelay(int desired_delay_ms);
|
||||
|
||||
// Decoding with errors.
|
||||
void SetDecodeWithErrors(bool enable);
|
||||
bool DecodeWithErrors() const;
|
||||
void SetDecodeErrorMode(VCMDecodeErrorMode decode_error_mode);
|
||||
VCMDecodeErrorMode DecodeErrorMode() const;
|
||||
|
||||
// Returns size in time (milliseconds) of complete continuous frames in the
|
||||
// jitter buffer. The render time is estimated based on the render delay at
|
||||
|
||||
Reference in New Issue
Block a user