Fix mismatch between different NACK list lengths and packet buffers.
This is a second version of http://review.webrtc.org/1065006/ which passes the parameters via methods instead of via constructors. BUG=1289 Review URL: https://webrtc-codereview.appspot.com/1065007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3456 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -733,10 +733,14 @@ class RtpRtcp : public Module {
|
||||
|
||||
/*
|
||||
* Turn negative acknowledgement requests on/off
|
||||
* |max_reordering_threshold| should be set to how much a retransmitted
|
||||
* packet can be expected to be reordered (in sequence numbers) compared to
|
||||
* a packet which has not been retransmitted.
|
||||
*
|
||||
* return -1 on failure else 0
|
||||
*/
|
||||
virtual WebRtc_Word32 SetNACKStatus(const NACKMethod method) = 0;
|
||||
virtual WebRtc_Word32 SetNACKStatus(const NACKMethod method,
|
||||
int max_reordering_threshold) = 0;
|
||||
|
||||
/*
|
||||
* TODO(holmer): Propagate this API to VideoEngine.
|
||||
@ -774,7 +778,7 @@ class RtpRtcp : public Module {
|
||||
*/
|
||||
virtual WebRtc_Word32 SetStorePacketsStatus(
|
||||
const bool enable,
|
||||
const WebRtc_UWord16 numberToStore = 200) = 0;
|
||||
const WebRtc_UWord16 numberToStore) = 0;
|
||||
|
||||
/**************************************************************************
|
||||
*
|
||||
|
Reference in New Issue
Block a user