Skip to content

Latest commit

 

History

History
69 lines (41 loc) · 4.42 KB

writer-network-sink-object.md

File metadata and controls

69 lines (41 loc) · 4.42 KB
title description ms.assetid keywords ms.topic ms.date ms.custom
Writer Network Sink Object
Writer Network Sink Object
f7765b42-693a-4f48-b750-17579e860b6d
Windows Media Format SDK,writer network sink objects
Advanced Systems Format (ASF),writer network sink objects
ASF (Advanced Systems Format),writer network sink objects
objects,writer network sink objects
writer network sink objects
article
4/26/2023
UpdateFrequency5

Writer Network 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 network sink object is used to write digital media to a network.

The writer network sink object is created by the function WMCreateWriterNetworkSink, which sets a pointer to an IWMWriterNetworkSink interface. The other interfaces of the writer network sink object can be obtained by calling the QueryInterface method.

Interface Description
IWMClientConnections Collects information on connected clients.
IWMClientConnections2 Retrieves advanced client information.
IWMRegisterCallback Enables the application to get status messages from the object.
IWMWriterNetworkSink Opens and closes ports, sets and retrieves the maximum number of clients that can connect to the sink object, sets the network protocol to be used by the writer object, and performs other advanced functions.
IWMWriterSink Allocates memory, determines whether the sink is operating in real time, and handles several callback functions.

 

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

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

 

Related topics

Broadcasting ASF Data

Objects

Working with Writer Sinks