Hi,
I am trying to do a simple POC for playing videos stored in S3 using a Wowza instance running on EC2.
I created an S3 bucket and uploaded a video. Then I launched an “Wowza Streaming Engine 4: BYOL Pro Edition (HVM)” instance that includes the vods3 application which is configured to play from S3.
But when I try to play the video (using flv:amazons3//path/to/test.flv), it fails.
Looking at the Wowza logs, I see that when Wowza tries to access the resource in S3 using a URL of type .s3.amazonaws.com/path/to/test.flv, it gets a 307 response code which tries to redirect it to another S3 endpoint (.s3-eu-west-1.amazonaws.com). Wowza does not follow this redirect but treats it as an error.
When trying the Wowza example S3 video (mp4:amazons3/wowzamediacache/sample/sample.mp4), it works fine. And indeed when I try to access this resource using wowzamediacache.s3.amazonaws.com/sample/sample.mp4, I get the resource rather than a 307 response.
What am I missing here?
Thanks!