Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TakuSemba/go-hls-hosting
generates LIVE, CHASE playlists from your given VOD playlist, then publish their playlists individually.
https://github.com/TakuSemba/go-hls-hosting
golang hls media streaming
Last synced: about 1 month ago
JSON representation
generates LIVE, CHASE playlists from your given VOD playlist, then publish their playlists individually.
- Host: GitHub
- URL: https://github.com/TakuSemba/go-hls-hosting
- Owner: TakuSemba
- License: mit
- Created: 2020-08-23T08:53:01.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T20:31:36.000Z (over 1 year ago)
- Last Synced: 2024-07-27T12:45:12.661Z (about 2 months ago)
- Topics: golang, hls, media, streaming
- Language: Go
- Homepage:
- Size: 32 MB
- Stars: 19
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-hls-hosting
![test](https://github.com/TakuSemba/go-hls-hosting/workflows/test/badge.svg)
![release](https://github.com/TakuSemba/go-hls-hosting/workflows/release/badge.svg)**go-hls-hosting** generates **LIVE**, **CHASE** playlists from your given **VOD** playlist, and allows you to access those **VOD**, **LIVE**, **CHASE** playlists individually.
## 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](https://github.com/TakuSemba/go-hls-hosting/tree/master/sampledata) directory.```sh
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](https://github.com/TakuSemba/go-hls-hosting/releases) page.
## Integrate with ngrok
With [ngrok](https://ngrok.com/), you can publish generated playlists.
## Author
* **Taku Semba**
* **Github** - (https://github.com/takusemba)
* **Twitter** - (https://twitter.com/takusemba)
* **Facebook** - (https://www.facebook.com/takusemba)## Licence
This work is published under the MIT license.
Please see the [LICENSE](https://github.com/TakuSemba/go-hls-hosting/blob/master/LICENSE) file for details.