IWMSServer.PlaylistParsers (C#)

banner art

Previous Next

IWMSServer.PlaylistParsers (C#)

The PlaylistParsers property retrieves an IWMSPlugins collection of playlist parser plug-ins. You can use a playlist parser plug-in to support a playlist format.

Syntax

  IWMSPlugins = IWMSServer.PlaylistParsers;

Property Value

An IWMSPlugins object containing a collection of playlist parser plug-ins.

Remarks

This property is read-only.

The following system plug-ins can be accessed using the PlaylistParsers property.

Plug-in Description
WMS Directory Playlist Parser Enables you to configure a publishing point to stream Windows Media files from a directory by setting the publishing point path to reference the directory. For a broadcast publishing point, a player will automatically receive all of the files. For an on-demand publishing point, a player can request either a single file or all of the files in the directory.
WMS SMIL Playlist Parser Provides support for playlist files with a .wsx extension that contain Synchronized Multimedia Integration Language (SMIL) 2.0 syntax. By enabling this plug-in, you can deliver a single stream that consists of content from multiple sources; you can also dynamically change the content structure as it streams.

To create custom playlist parser plug-ins, see Creating Playlist Parser Plug-ins.

Example Code

using Microsoft.WindowsMediaServices.Interop;
using System.Runtime.InteropServices;









    // Retrieve the IWMSPlugins interface
    // containing playlist parser plug-ins.
    Plugins = Server.PlaylistParsers;
}
catch (COMException comExc) {
    // TODO: Handle COM exceptions.
}
catch (Exception e) {
    // TODO: Handle exceptions.
}

Requirements

Reference: Add a reference to Microsoft.WindowsMediaServices.

Namespace: Microsoft.WindowsMediaServices.Interop.

Assembly: Microsoft.WindowsMediaServices.dll.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003 family, Windows Server 2008 family.

See Also

Previous Next