Statistics: Posted by drbyte — December 20th, 2011, 1:15 am
I understand. This is worrying you because someone could take this and download the entire file with it, costing you money. It sounds like you might want to consider RTMP as your only option. That way you can be sure that files are not downloaded ( i.e. stolen ), and that your bandwidth costs will remain reasonable. I've seen many companies doing this very thing. Especially when you're dealing with protected content.
RTMP is fine, it's the HTTP link that is scary and since it expires in 24 hours that makes it worse.
Statistics: Posted by Jason Caldwell — December 16th, 2011, 6:26 am
Jason Caldwell wrote:
However, if you allow access to these files through s2member_file_download_url() function, provided by the code samples you referenced; this generates URLs that are digitally signed by s2Member. These URLs ... one leading to the RTMP stream, and another to the MP4 file via HTTP, are both available to whomever you introduce them to ( and based on the parameters you pass to the API function ).
Statistics: Posted by drbyte — December 16th, 2011, 12:40 am
Statistics: Posted by Jason Caldwell — December 15th, 2011, 9:16 pm
Sorry. I'm not sure I fully understand. Viewing a post, would open an RTMP stream to a CloudFront edge location. Streaming files are not fully downloaded, so you're only viewing a portion of the video, not the whole thing. I understand that if the edge location does not yet have a copy of the file, you would be charged for the transfer from your Bucket to the edge location though.
"Amazon CloudFront uses the expiration period you set on your files (through cache control headers) to determine whether it needs to check the origin for an updated version of the file. If you expect that your files will change frequently, the best practice is to use object versioning to manage these changes. To implement object versioning, you create a unique filename in your origin server for each version of your file and use the file name corresponding to the correct version in your web pages or applications. With this technique, Amazon CloudFront caches the version of the object that you want without needing to wait for an object to expire before you can serve a newer version."
So Jason, I was correct..When I was updating each post to use AWS and testing that file, it was a whole request for the whole video size, some as large as 1GB even thought I only tested 5 seconds of that file.
Statistics: Posted by Jason Caldwell — December 15th, 2011, 9:11 pm
Statistics: Posted by drbyte — December 12th, 2011, 11:18 pm
Statistics: Posted by drbyte — December 12th, 2011, 8:24 am
Statistics: Posted by drbyte — December 12th, 2011, 8:15 am
Statistics: Posted by drbyte — December 12th, 2011, 6:01 am