MCPcopy Index your code
hub / github.com/covrom/hls-streamer

github.com/covrom/hls-streamer @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
94 symbols 307 edges 15 files 51 documented · 54% updated 7mo agov1.0.0 · 2023-10-18★ 382 open issues

Browse by type

Functions 75 Types & classes 19
What it actually does AI analysis from the code graph — generated when you open this
loading…
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:

OBSStudio

Usage

  1. Build and run
  2. Run OBS Studio with settings above
  3. Push on "Start Recording" (not streaming!) in OBS Studio
  4. Open browser at http://localhost:9099
  5. 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.

Core symbols most depended-on inside this repo

Shape

Method 47
Function 28
Struct 13
TypeAlias 6

Languages

Go100%

Modules by API surface

manifestgenerator/manifestgenerator.go22 symbols
tspacket/tspacket.go21 symbols
mediachunk/mediachunk.go18 symbols
hls/hls.go13 symbols
manifestgenerator/manifestgenerator_test.go11 symbols
tspacket/tspacket_test.go3 symbols
main.go1 symbols
logger/logger.go1 symbols
inpipe/intcp.go1 symbols
inpipe/inpipe.go1 symbols
httpserver/nocache.go1 symbols
httpserver/httpserver.go1 symbols

For agents

$ claude mcp add hls-streamer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page