Open hubino-testing2 opened 8 years ago
The library does not support streaming out-of-the box. You might want to check out this thread on stackoverflow to get a feel of the complexity. You can also check #42
As for now I recommend you use the library to create an url directly to the file and use that with your videoplayer. This has the added benefit that the file does not need to travel through your server but goes directly from s3 to the browser of the client.
I can't stream the S3 video/Image while downloading. I can able to read the private bucket by using my aws.accessKeyId and aws.secretKey. I have used the below way.
Code snippet: In HTML:
In Controller:
It waits to read the whole file content from S3. But the it doesn't return video to html. If I tried to show the S3 image, it read the whole image content from S3 and return to the html successfully. I can't stream the video/Image while downloading in progress.