Categorygithub.com/TakuSemba/go-hls-hosting
modulepackage
0.0.0-20200829125438-245645797087
Repository: https://github.com/takusemba/go-hls-hosting.git
Documentation: pkg.go.dev

# README

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.

Typemaster playlistmedia playlistsegment
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.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author