go-hls-hosting

command module
v0.0.0-...-2456457 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2020 License: MIT Imports: 7 Imported by: 0

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.

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL