Wowza Amazon S3 media cache add on not working

Hello,

I have followed following article to use mediaCahce with amazon S3:

https://www.wowza.com/docs/how-to-use-amazon-s3-with-a-standalone-wowza-media-server-and-the-mediacache-addon

During startup it doesn’t shoe any error, and it displays following entry:

MediaCache[MediaCache]: Add source[amazons3]: prefix:amazons3/ basePath:http://s3.amazonaws.com/ - - - 3.4

which means connnection was sucees. But while playing a file,it throws following exception:

I am not able to play any file on S3 bucket:

play: error opening file (/usr/local/WowzaStreamingEngine/content/amazons3/sample-folder/sample/small.mp4) : java.lang.NullPointerException|at com.wowza.wms.mediareader.h264.MediaReaderH264.open(MediaReaderH264.java:262)|at com.wowza.wms.stream.file.PlaylistPlayer.play(PlaylistPlayer.java:790)|at com.wowza.wms.stream.file.MediaStreamFilePlay.play(MediaStreamFilePlay.java:111)|at com.wowza.wms.response.ResponseStreams.output(ResponseStreams.java:51)|at com.wowza.wms.request.RTMPRequestAdapter.service(RTMPRequestAdapter.java:671)|

Hi,

This was answered in ticket 279041.
Now that MediaCache is built-in rather than a separate addon, the BaseClass has changed.

Currently, the article references this:

<BaseClass>com.wowza.wms.plugin.mediacache.impl.MediaCacheItemHTTPImpl</BaseClass> 

It should be should be:

<BaseClass>com.wowza.wms.mediacache.impl.MediaCacheItemHTTPImpl</BaseClass>

Configuring MediaCache using Wowza Streaming Engine Manager does not result in the same problem and this is the recommended way to make all configuration adjustments when possible.

Regards,
Jason