Why doesn't Amazon Cloudfront stream don't play for some videos?


Today I am writing about a small issue I faced while working with Amazon CloudFront. I use this for streaming videos saved in Amazon S3. CloudFront gives me an rtmp url like rtmp://saqiu28r4l5ke.cloudfront.net/cfx/st and then my clip url becomes mp4:video.mp4 . This works completely fine with FlowPlayer I have used along with Flash RTMP Player that I use for a quick check. But  I was thinking of naming my video files with date and time so I changed the name to video-2013-07-29-12:39.mp4 . And eventually, Amazon CloudFront stopped streaming the video. The issue with such a filenaming was the ':' colon character. And I replaced that colon character with a period character, and the video stream worked fine again. So what I learnt from here that having colon in the filename of the file to be streamed will stop the stream. Its because it bring ambiguity for clip to stream as we have the streaming clip url as mp4: video.mp4. Having two colons causes this issue. 

Comments

Popular posts from this blog

Automate file upload in Selenium IDE

How To Install and Configure Nextcloud