Skip to main content
Writer Push Sink Object

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.

 

Related topics

Objects
Sending ASF Data to a Publishing Point
Working with Writer Sinks