IStreamBufferConfigure2::SetMultiplexedPacketSize Method
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(
[in] 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 Value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | 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 | Declared in Sbe.h. |
See Also
IStreamBufferConfigure2 Interface
Send comments about this topic to Microsoft
Build date: 12/4/2008