IWMSServer.PlaylistParsers (Visual Basic .NET)
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.
IWMSPlugins = IWMSServer.PlaylistParsers
Property Value
An IWMSPluginsIWMSPlugins Object (Visual Basic .NET) 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
Imports Microsoft.WindowsMediaServices.Interop
Imports System.Runtime.InteropServices
Private Sub GetParsers()
' Declare variables.
Dim Server As WMSServer
Dim Plugins As IWMSPlugins
Try
' Create the WMSServer object.
Server = New WMSServer()
' Retrieve the IWMSPlugins interface
' containing playlist parser plug-ins.
Plugins = Server.PlaylistParsers
Catch excCom As COMException
' TODO: Handle COM exceptions.
Catch exc As Exception
' TODO: Handle errors.
Finally
' TODO: Clean-up code goes here.
End Try
End Sub
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.