Writer Push Sink Object

[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.]

The writer push sink object distributes digital media to publishing points. For example, a live concert can be encoded by a single server and then delivered, or pushed, to several other servers that will actually stream the content to users.

A writer push sink object is created by the function WMCreateWriterPushSink, which sets a pointer to an IWMWriterPushSink interface. The other interfaces supported by the object, listed in the following table, can be obtained by calling the QueryInterface method.

Interface Description
IWMRegisterCallback Enables the application to get status messages from the object.
IWMWriterPushSink Manages a push distribution session.
IWMWriterSink Allocates memory, determines whether the sink is operating in real time, and exposes several callback functions.

 

The following callback interface can be implemented by the application to track the progress of a writer push sink object.

Interface Description
IWMStatusCallback Required when status information must be communicated to the host application.

 

Objects

Sending ASF Data to a Publishing Point

Working with Writer Sinks