Previous | Next |
The SetBufferWindow method specifies the maximum latency between when a stream is received and when it begins to be displayed.
Syntax
HRESULT SetBufferWindow(
DWORD msBufferWindow
);
Parameters
msBufferWindow
[in] Specifies the buffer window, in milliseconds.
Return Values
This method always returns S_OK.
Remarks
For high bit rate streams (typically, more than 1 megabit per second), a latency (or buffer window) of 1 second is typical; for lower bit rate streams, a latency of approximately 3 seconds is often used.
Setting the buffer window to -1 (0xffffffff) indicates that the buffer window is unknown. In this case, the writer uses whatever buffer window it deems appropriate.
See Also
Previous | Next |