{"repo":"mistivia/ezlive","free":true,"listed":false,"github":"https://github.com/mistivia/ezlive","clone":"git clone https://github.com/mistivia/ezlive.git","description":"A self-hosted, serverless livestream using S3","language":"C++","stars":23,"topics":[],"license":null,"category":"self-hosted-apps","readme_excerpt":"EZLive: Self-hosted Serverless Livestream EZLive is a self-hosted serverless livestream solution built on top of S3-compatible object storage. It runs a local SRT server, receive live video, turns it into HLS segments ( .m3u8 + .ts ) and serves them as static files through any S3-compatible object storage. No dedicated streaming server is required — everything runs serverlessly. Then you can easily setup a HTML5 HLS player to watch the stream. Build Install dependencies: - SRT - FFMpeg (libavformat, libavutil, libavcodec) - AWS C++ SDK (libaws-cpp-sdk-core, libaws-cpp-sdk-s3) Build: Usage Setup a S3-compatible object storage bucket, for example, Cloudflare R2, AWS S3, Minio, DigitalOcean, etc. Then create a config file config : 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: Then set Permissions → Cross-origin resource sharing (CORS) to: Start EZLive: Open OBS, streaming to srt://127.0.0.1:61935 , with streaming key. The streaming format must be H.264 + AAC. Then use a HLS player to load https://YOUR BUCKET NAME.your-s3.com/ezlive/stream.m3u8 to watch the stream. If you don't know how to setup a HLS player, then make sure you have added https://mistivia.github.io in your object storage's CORS setting, then open: Credits Thank uonr for mak","default_branch":null,"files":null,"tree":[],"storefront":"/r/mistivia","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mistivia/ezlive/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}