IStreamBufferConfigure2::SetMultiplexedPacketSize
Microsoft DirectShow 9.0 |
IStreamBufferConfigure2::SetMultiplexedPacketSize
This topic applies to Windows XP Service Pack 2 only.
The SetMultiplexedPacketSize method sets the size of the multiplexed packets in the backing files for the Stream Buffer Engine.
Syntax
HRESULT SetMultiplexedPacketSize( DWORD cbBytesPerPacket );
Parameters
cbBytesPerPacket
[in] Specifies the packet size, in bytes. The value must be between 8192 and 65535, inclusive. The default value is 65535.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
S_OK | The method succeeded. |
Remarks
For low-bit-rate streams, the default packet size may be unnecessarily large. You can use this method to reduce the packet size.
Requirements
Header: Include Sbe.h.
See Also