次の方法で共有


IStreamBufferConfigure2::SetMultiplexedPacketSize method (sbe.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

[in] cbBytesPerPacket

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

Requirement Value
Minimum supported client Windows�XP with SP2 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header sbe.h

See also

IStreamBufferConfigure2 Interface