HLS client and muxer library for the Go programming language, written for MediaMTX.
Go ≥ 1.19 is required.
Features:
-
Client
- Read MPEG-TS streams
- Read fMP4 streams
- Read AV1 tracks
- Read VP9 tracks
- Read H265 tracks
- Read H264 tracks
- Read Opus tracks
- Read MPEG-4 audio (AAC) tracks
-
Muxer
- Generate MPEG-TS streams
- Generate fMP4 streams
- Generate Low-latency streams
- Write AV1 tracks
- Write VP9 tracks
- Write H265 tracks
- Write H264 tracks
- Write Opus tracks
- Write MPEG-4 audio (AAC) tracks
- Save generated segments on disk
-
General
- Parse and produce M3U8 playlists
- Examples
https://pkg.go.dev/github.com/bluenviron/gohlslib#pkg-index