Configuring Arbitrary Stream Types

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Most arbitrary stream types just need a bit rate, a buffer window, and a proper major media type in the WM_MEDIA_TYPE structure. However, some arbitrary types require additional configuration.

If you have trouble configuring a stream, refer to the sample application called GenProfile, which is included with this SDK. The library defined in GenProfile contains code for including all types of streams. For more information about GenProfile and the other samples, see Sample Applications.

The following sections describe how to configure arbitrary stream types.

Section Description
Configuring Script Streams Describes how to configure script streams.
Configuring File Transfer Streams Describes how to configure file transfer streams.
Configuring Web Streams Describes how to configure Web streams.
Configuring Text Streams Describes how to configure text streams.
Configuring Custom Arbitrary Streams Describes how to configure streams for custom arbitrary stream types.
Calculating Bit Rate and Buffer Window Values for Arbitrary Streams Describes how to calculate the bit rate and buffer window settings for an arbitrary stream.

 

Arbitrary Streams

Configuring Streams