https://github.com/covrom/hls-streamer
hls video streaming from OBS Studio source to clients browsers
https://github.com/covrom/hls-streamer
go golang hls streaming
Last synced: 6 months ago
JSON representation
hls video streaming from OBS Studio source to clients browsers
- Host: GitHub
- URL: https://github.com/covrom/hls-streamer
- Owner: covrom
- License: mit
- Created: 2019-10-22T09:08:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-18T07:39:34.000Z (over 2 years ago)
- Last Synced: 2024-06-19T00:45:55.451Z (about 2 years ago)
- Topics: go, golang, hls, streaming
- Language: Go
- Size: 8.33 MB
- Stars: 36
- Watchers: 5
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hls-streamer
Build and run ./hls-streamer without parameters.
The http server with the player starts, as well as the TCP server for receiving the stream from OBS Studio.
OBS Studio is configured like this:

## Usage
1. Build and run
2. Run OBS Studio with settings above
4. Push on "Start Recording" (not streaming!) in OBS Studio
5. Open browser at http://localhost:9099
6. See translation from OBS Studio with time delay about 6-10 second
## Architecture
- OBS Studio -> hls-streamer with one-input access TCP stream from OBS Studio, or system stdin pipe (see --help),
- hls-streamer -> m3u8 and HLS chunks at file system,
- http server sharing m3u8 and HLS chunks (http.FileServer),
- index page with video.js, that render streaming.