diff options
| author | Mistivia <i@mistivia.com> | 2025-12-19 23:13:09 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-19 23:13:09 +0800 |
| commit | bb725cc3802b42992666e18d0758459e4332cdd7 (patch) | |
| tree | 56bf679ea5972a931209fa12e8e51990b806d045 /README.md | |
| parent | 71549ca55d515c69efd87a2a58401c135db39e21 (diff) | |
Enhance README with CORS and AWS S3 instructions
Updated instructions for CORS settings and added AWS S3 bucket policy details.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 34 |
1 files changed, 33 insertions, 1 deletions
@@ -34,7 +34,39 @@ region=auto key=your_live_key ``` -In the dashboard of your object storage provider, add the domain name of your web HLS player to CORS setting. If you don't know how to setup a web HLS player, just add `https://mistivia.github.io`. +In the dashboard of your object storage provider, enable public read, and add the domain name of your web HLS player to CORS setting. If you don't know how to setup a web HLS player, just add `https://mistivia.github.io`. + +For AWS S3, Edit bucket setting, set "Permissions" -> "Bucket Policy" to: + + { + "Version": "2012-10-17", + "Statement": [ + { + "Sid": "PublicReadOnly", + "Effect": "Allow", + "Principal": "*", + "Action": "s3:GetObject", + "Resource": "arn:aws:s3:::nebulive/*" + } + ] + } + +Then set "Permissions" -> "Cross-origin resource sharing (CORS)" to: + + [ + { + "AllowedHeaders": [ + "*" + ], + "AllowedMethods": [ + "GET" + ], + "AllowedOrigins": [ + "https://your.hls.player.com" + ], + "ExposeHeaders": [] + } + ] Start EZLive: |
