Possible to stream videos using Amazon S3/CloudFront with HTML5 player?

后端 未结 6 1023
执笔经年
执笔经年 2021-01-29 21:48

I want to use an HTML5 video player and stream videos. Is this possible with S3/CloudFront? I understand Amazon uses the RTMP streaming protocol and HTML5\'s video

6条回答
  •  别那么骄傲
    2021-01-29 22:25

    AWS no longer supports RTMP or Flash. So use Apple's HLS - HTTP Live Streaming.

    You will need to use the following stack:

    S3 to store the videos, CloudFront, MediaConvert to convert your single .mp4 into a streaming files (a .m3u8 index file & .ts segment files).

    Doing all of this manually, and each time for each video, is going to be quite an intensive and time-consuming experience, even for those technically inclined. If you have a WordPress website, then you could use a plugin like https://S3MediaVault.com which can handle all of this.

提交回复
热议问题