To test my work, i made a new wowza server on different server. I used out of the box Application.xml found in conf/Application.xml and followed the instructions from MediaCache User Guide:
Copy lib/wms-plugin-mediacache.jar from this package into the Wowza Server folder [install-dir]/lib folder
Copy conf/MediaCache.xml from this package into the[install-dir]/conf folder Wowza Server folder
Create the folder [install-dir]/application/mediacache
Create the folder [install-dir]/conf/mediacache and copy the [install-dir]/conf/Applications.xml into this new folder.
Edit the newly copied Application.xml file and make the following changes:
a. Set the RTP/Authentication/PlayMethod to: none
b. Add the following property to the MediaReader/Properties so that the section looks like this:
- Edit [install-dir]/conf/Server.xml and add a reference to the MediaCacheServerListener class in the section:
- Then in conf/MediaCache.xml i uncommented the following:
And in i set the to http://s3.amazonaws.com//SubFolderName/
It reads very well from amazon using this setup, now to enable external Method URL, i have only to create a key file with same mp4 file name and place it in keys directory.
Anything wrong i’m doing in here ? Maybe i should change details (, or ) in conf/mediacache/Applications.xml !!!