HTTP Provider to serve up VOD assets

This module allows you to pass in a path to a file name and it’ll serve it up for download. You essentially define a default content path/directory or the content/ folder is the default. Then any file that exists within it, is game for download.

1. Place the following provider under you 8086 HostPort within your VHost.xml:

<HTTPProvider>
<BaseClass>com.example.videolist.DirectFileDownload</BaseClass>
<RequestFilters>download*</RequestFilters>
<AuthenticationMethod>none</AuthenticationMethod>
</HTTPProvider>

2. Optionally define the fileDownloadContentPath property that will act as your root directory (in your VHost.xml general properties section):

<Property>
<Name>fileDownloadContentPath</Name>
<Type>String</Type>
</Property>

3. Put the jar file below into your [install]/lib directory.

4. Restart Wowza and go to the http provider:

localhost:8086/download?filename=sample.mp4

Direct Download


Comments are closed.