Sourcing from a directory

You can configure an on-demand publishing point or a broadcast publishing point to stream files from a directory.

  • For an on-demand publishing point, set the publishing point path to reference the directory that contains the files you want to stream, such as C:\WMPub\WMRoot. Users can either receive a single file or all the files in the directory. If you want to stream all the files in the directory, you must enable the Enable access to directory content using wildcards property on the Properties tab of the publishing point. This property enables you to use wildcard characters in the URL of the publishing point. The following examples show how you can use this to provide different content streams to users:

    • Stream all digital media files in a directory. Use the asterisk (*) wildcard character in place of the file name in the connection URL to stream all of the digital media files within a directory; for example mms://server/publishing_point/*.

    • Stream only certain file types in a directory. Use the asterisk (*) wildcard character in place of the file name in the connection URL but specify the file name extension to stream all of the digital media files of a certain type. For example, you can use mms://server/publishing_point/*.wmv to stream only the video files or mms://server/publishing_point/*.wma to stream only the audio files.

  • For a broadcast publishing point, set the publishing point path to reference the directory that contains the files you want to stream, such as C:\WMPub\WMRoot. All of the digital media files in the directory are streamed to connected clients automatically. To play the stream, users type the URL for the publishing point in their players; for example, mms://server/publishing_point.

Note

The asterisk (*) wildcard character cannot be used to replace portions of a file name or extension.

See Also

Concepts

Sourcing from an encrypted directory