Sets the latency in milliseconds between the stream reception and display.
|C||HRESULT IltmmWMStreamConfig_put_BufferWindow(pStreamConfig, newVal)|
Pointer to an IltmmWMStreamConfig interface.
The latency value, in milliseconds, to set.
|S_OK||The function was successful.|
|<> S_OK||An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.|
Use a value of -1 to indicate an unknown latency. The larger the buffer window, the higher the quality in the case of video streams. However, it is not recommended to have streams that have widely different latencies.
You must call IltmmWMProfile::ReconfigStream to use the new value.
For more information, refer to the Microsoft documentation for IWMStreamConfig::SetBufferWindow.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries