IRTPRPHFilter::SetTimeoutDuration

[This is preliminary documentation and subject to change.]

Set the duration of the time periods in which to queue reordered and reassembled buffers. If these values are not set at initialization time, default values will be chosen based on the media type of the filter. Once either duration expires, any buffers currently held by the RPH filter will be flushed down the graph. These durations are used to induce some buffering to alleviate jitter and latency problems in the network.

HRESULT SetTimeoutDuration(
  DWORD dwDejitterTime,
  DWORD dwLostPacketTime
);
 

Parameters

dwDejitterTime
[in] Duration in milliseconds that any one buffer may be queued.
dwLostPacketTime
[in] Duration in milliseconds before a packet is presumed lost.

Return Values

E_INVALIDARG
One or both of the timeout durations specified is zero.
NOERROR
The timeout durations have been set successfully.