IWMWriterNetworkSink interface

The IWMWriterNetworkSink interface is used to deliver streams to the network. It inherits all the methods of IWMWriterSink, and adds methods to configure the network sink.

The network sink object exposes this interface. To create the network sink object, call the WMCreateWriterNetworkSink function.

Methods

The IWMWriterNetworkSink interface has these methods.

Method Description
IWMWriterNetworkSink::Close The Close method disconnects all clients from the network sink, and releases the port.
IWMWriterNetworkSink::Disconnect The Disconnect method disconnects all clients from the network sink.
IWMWriterNetworkSink::GetHostURL The GetHostURL method retrieves the URL from which the stream is broadcast. Clients will access the stream from this URL.
IWMWriterNetworkSink::GetMaximumClients The GetMaximumClients method retrieves the maximum number of clients that can connect to this sink.
IWMWriterNetworkSink::GetNetworkProtocol The GetNetworkProtocol method retrieves the network protocol that the network sink uses. Currently, HTTP is the only protocol the network sink supports.
IWMWriterNetworkSink::Open The Open method opens a network port, and starts listening for network connections.
IWMWriterNetworkSink::SetMaximumClients The SetMaximumClients method sets the maximum number of clients that can connect to this sink. Call this method before streaming begins.
IWMWriterNetworkSink::SetNetworkProtocol The SetNetworkProtocol method sets the network protocol that the network sink uses. Currently, HTTP is the only protocol supported by the network sink.

Requirements

   
Target Platform Windows
Header wmsdkidl.h

See also

Broadcasting ASF Data

IWMWriterSink Interface

Interfaces

Writer Object