Skip to content

generates LIVE, CHASE playlists from your given VOD playlist, then publish their playlists individually.

License

Notifications You must be signed in to change notification settings

TakuSemba/go-hls-hosting

Repository files navigation

go-hls-hosting

test release

go-hls-hosting generates LIVE, CHASE playlists from your given VOD playlist, and allows you to access those VOD, LIVE, CHASE playlists individually.

alt text

Get Started

To get started, run main.go with master playlist path and listenen port. If you haven't prepared your master playlist, you can use one in sampledata directory.

go run main.go --path your/hls/master/playlist.m3u8 --port 1323

Once you've run it, you can access VOD, LIVE, CHASE playlists respectively with the following path.

Type master playlist media playlist segment
VOD /vod/playlist.m3u8 /vod/:index/playlist.m3u8 /vod/:index/:path
LIVE /live/playlist.m3u8 /live/:index/playlist.m3u8 /live/:index/:path
CHASE /chase/playlist.m3u8 /chase/:index/playlist.m3u8 /chase/:index/:path

With Docker

You can also start go-hls-hosting using Docker.

With Binary

You can download binary from release page.

Integrate with ngrok

With ngrok, you can publish generated playlists.

alt text

Author

Licence

This work is published under the MIT license. Please see the LICENSE file for details.

About

generates LIVE, CHASE playlists from your given VOD playlist, then publish their playlists individually.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published