Compartir a través de


Custom Plug-in Objects (C#)

You can use the following objects to create custom plug-ins for a Windows Media server.

Note

   These objects are available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008.

Object

Description

DWMSNamedValuesEvents

Enables you to implement an event handler to respond to an event notice raised by the server when a plug-in property is created, removed, or modified.

INSSBuffer

Provides methods for supporting a segment of memory to store data.

IWMSAuthenticationCallback

Contains a method that can be called by a plug-in to notify the server whether a client has been authenticated.

IWMSAuthenticationContext

Contains methods that can be used to authenticate a client and retrieve an authentication plug-in.

IWMSAuthenticationPlugin

Provides a method for creating an IWMSAuthenticationContext object.

IWMSBasicPlugin

Contains methods to initialize, enable, disable, and shut down a plug-in and expose an administration interface.

IWMSBufferAllocator

Provides methods for allocating a buffer.

IWMSCacheItemCollection

Contains a collection of IWMSCacheItemDescriptor objects. This object is implemented by a cache plug-in and called by the server.

IWMSCacheItemDescriptor

Retrieves the size, version number, expiration date, and URL of cached content. This object is implemented by a cache plug-in and called by the server.

IWMSCacheProxy

Contains methods that administer a cache and specify cache policy. This object is implemented by a cache plug-in and called by the server.

IWMSCacheProxyCallback

Contains methods that enable a cache plug-in to respond to calls that the server makes through the IWMSCacheProxy object. This object is implemented by the server and called by a cache plug-in.

IWMSCacheProxyServer

Contains methods that validate client authorization, retrieve information about cached content, determine whether the content is current, and download content to a cache. This object is implemented by the server and called by a cache plug-in.

IWMSCacheProxyServerCallback

Contains methods that enable a cache plug-in to respond to calls that the server makes through the IWMSCacheProxyServer object. This object is implemented by a cache plug-in and called by the server.

IWMSClassObject

Allows plug-in components to allocate commonly used data structures.

IWMSCommandContext

Provides methods for retrieving or deleting the current command request and response.

IWMSContentDescriptionList

Provides methods for managing a description list.

IWMSContext

Provides methods for retrieving, adding or updating a context.

IWMSDataContainer

Supports methods for a data container.

IWMSDataContainerCallback

Provides methods to receive event notices from the server about calls to methods of the IWMSDataContainer object.

IWMSDataContainerVersion

Provides methods for enumerating and controlling settings.

IWMSDataSourcePlugin

Provides methods to compare data container versions, create a storage system enumerator, and open and delete a data container.

IWMSDataSourcePluginCallback

Provides methods to receive event notices from the server about calls to methods of the IWMSDataContainer object.

IWMSDirectory

Provides methods for navigating a directory structure.

IWMSEventAuthorizationCallback

Provides methods to receive event notices from the server about calls to methods of the IWMSEventAuthorizationPlugin object.

IWMSEventAuthorizationPlugin

Provides methods for authorizing clients.

IWMSEventLog

Provides a method for event logging.

IWMSEventNotificationPlugin

Provides methods for event notification.

IWMSHeaderLine

Provides a method that can be used to retrieve a client cookie.

IWMSIncomingCounters

Provides methods for updating incoming counters.

IWMSPacket

Provides methods for managing the buffers, attributes, and headers associated with a packet.

IWMSPacketList

Provides methods for managing the packets, attributes, and buffers associated with a packet list.

IWMSPacketListCallback

Provides a method to respond to the IWMSPacketList.ReportStatus method call.

IWMSPacketParser

Provides methods to manipulate individual packets. This object is implemented by a media parser plug-in.

IWMSPacketStreamDataContainer

Provides methods to notify the server of stream signals and to determine the maximum packet size used by a data container.

IWMSPacketStreamer

Provides methods for retrieving information about streams being sent down a data path and for controlling the streams being sent down a data path.

IWMSPacketStreamerCallback

Provides methods that enable a plug-in to respond to IWMSPacketStreamer method calls.

IWMSPlaylistParser

Provides methods for parsing different types of playlist files.

IWMSPlaylistParserCallback

Provides methods to receive event notices from the server about calls to methods of the IWMSPlaylistParser object.

IWMSPlaylistParserPlugin

Provides a method for creating a playlist parser object that is to be used by the server.

IWMSPlaylistParserPluginCallback

Used to receive event notices from the server, to determine when a playlist parser plug-in has been created.

IWMSProxyContext

Provides methods that enable a network data source plug-in to discover upstream proxy settings and credentials to facilitate cache proxy binding.

IWMSPushSink

Provides methods to process packet lists and connect to upstream data sources.

IWMSPushSource

Provides methods that control the flow of data through a data path.

IWMSPushSourceCallback

Provides methods that enable a plug-in to respond to IWMSPushSource method calls.

IWMSStreamHeader

Provides methods that describe the header for a specific stream.

IWMSStreamHeaderList

Provides a collection of IWMSStreamHeader objects and methods that describe each stream in a digital media stream.

IWMSStreamSignalHandler

Provides a method to provide notification of stream signals defined by WMS_STREAM_SIGNAL_TYPE.

IWMSStreamSwitchDescriptionList

Provides methods that control which streams are sent down a data path.

IWMSTransportProperties

Provides methods for retrieving, adding, or updating network transport properties used by the server and a data sink plug-in during the media streaming process.

See Also

Concepts

Programming Reference (C#)