Wowza Community

Mediacache Problem Using S3 source other than Amazon

Hello,

I wish to stream my video files stored on a Riack CS Storage using Wowza streaming engine. I downloaded Wowza Streaming Engine 4.4 and configured it using this “https://www.wowza.com/docs/how-to-use-amazon-s3-with-wowza-media-server#s3fs” tutorial. File and HTTP sourced worked fine. But my Riack CS Source doesn’t work. I have a bucket named “test”, a directory inside it named “fldr”, that is accessible using “X.X.X.X:8080”. I’ve tested multiple configuration for the source in the mediacache, but none of them worked. Is there any problem with Riack CS as a S3 source? Does the trial version support S3 sources?

I used the following configuration as my source:

Source name: amazon

prefix: amazons3/

base path: http://X.X.X.X:8080/

AWS Access Key ID : ‘sth valid’ (validated using cloudberry)

AWS Secret Access Key : ‘sth valid’ (validated using cloudberry)

Validation Configuration: amazons3/test/fldr/sample.mp4


I can access the Riack files using “CloudBerry” but Wowza gives me the followng error:

MediaCacheHTTPByteReader.sendRequest[http://X.X.X.X:8080/sample.mp4] : java.net.SocketTimeoutException: Read timed out|at java.net.SocketInputStream.socketRead0(Native Method)|at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)|at java.net.SocketInputStream.read(SocketInputStream.java:170)|at java.net.SocketInputStream.read(SocketInputStream.java:141)|at com.wowza.wms.mediacache.impl.MediaCacheHTTPByteReader.sendRequest(MediaCacheHTTPByteReader.java:1109)|

WARN server comment 2016-05-01 16:47:45 - - - - - 430.245 - - - - - - - - MediaCacheItemBase.init: Error: Length is zero[-1]: amazons3/sample.m

Hello,

The Trial licensed version of Wowza Streaming Engine does support S3 sources. You may be able to use this as an HTTP source if the content is publicly available but the compatibility of WSE S3 authentication methods with Riack CS is unknown.

Best regards,

Andrew

Thank you Andrew,

I successfully played RTMP output but when trying to play HDS and HLS the following message appears:

“Source stream or file could not be found or access was denied.”

Do you have any idea?

Best Regards