I'm kind of new to cloudfront but have managed to get JWPlayer working rtmp for a .mov I put in a bucket connected to a streaming distribution. What I'm not sure about is that I've added 2 other .mov files to the same bucket and made them public both with the same permissions (Everyone: Open/View) however the player reports stream not found. Does it take a certain amount of time for the videos uploaded to become accessible via RTMP?
thanks
Using .mp4 (h.264) files fixed this issue for me.
Related
When I click the mp3 file's AWS S3 path, it plays in my browser, see screenshot below:
Is the mp3 downloaded/cached to my local machine? If so where is it? I tried to search for it in Chrome cache folder but did not find anything. Very curious how this works exactly.
No, S3 doesn't cache any files locally. If a file were cached it's determined by your browser, who makes the decision based on a number of factors (such as HTTP headers, see [1]).
The reason the MP3 file plays in your browser is because your browser knows it can play the MP3 file and not just download it.
[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
From my flow I can't play audio files stored in S3.
The playback function from a text file is working correctly.
The ability to play an audio file from the standard library is also broken.
but i want to play my custom WAV files stored in S3.
and it doesn't work or I don't know how to do it !!!!
Amazon Connect has updated contact flows to now allow playing a prompt from S3, https://docs.aws.amazon.com/connect/latest/adminguide/play.html
You can't reference files stored in S3 directly from Connect. You have to upload the wav file into Connect via the UI in the Routing/Prompts section.
So guys, how do I prevent users from downloading audio files on my web app (running springboot in backend) by accessing the s3 url !
I want to make it impossible to download the audio files in my website ! Any suggestions pls ?
I assume you mean that you want to make it impossible to download the audio files, but still allow streaming them for playback.
You can't.
If it can be played, it can be downloaded. Simple as that.
At best, you can sign your S3 URLs so that they expire after a short period of time. This gives you control over who accesses your audio files, and prevents them from showing up in searches, or linked to from other sites. You can also look into Encrypted Media Extensions, but it's not all that useful for audio since audio is trivially digitally captured on the output.
I am creating smil file for live streams in wowza content folder. All my source files related to that stream is in s3 bucket. Now how to read that smil file and play video in different bit rates based on internet
You can't, however you can use Wowza Media Cache, to retrieve data from S3. Take a look at Wowza website: Playback from an Amazon S3 HTTP source
I have a rails app with an audio player that plays an audio file stored in S3. The player works locally, but not in production (Heroku). The linked audio file plays fine when pasted in the browser. I am not posting code because I don't know where the problem is (if it is a code problem) and besides it works locally.
Anyone give me a gut feeling about what is happening?
Your file on S3 was most likely uploaded with the incorrect content type header. You can verify this by looking at the response headers.
That's about all I can tell you without more information.