Matroska-WebSocket Streaming
Go to file
2025-02-12 22:25:29 +02:00
.gitignore .gitignore 2024-12-22 11:27:37 +02:00
base64.c Forgot to add base64 2025-01-20 10:11:19 +02:00
base64.h Forgot to add base64 2025-01-20 10:11:19 +02:00
blarf.js Support audio worklets 2025-02-12 22:25:29 +02:00
blarfwork.js Initial commit 2024-12-21 22:43:09 +02:00
index.html Configurability 2025-01-20 10:11:03 +02:00
main2.c Attempt windows support (doesn't work) 2025-01-06 11:10:48 +02:00
Makefile Attempt windows support (doesn't work) 2025-01-06 11:10:48 +02:00
picohttpparser.c FUCK mongoose 2025-01-05 12:15:36 +02:00
picohttpparser.h FUCK mongoose 2025-01-05 12:15:36 +02:00
rawpcmworklet.js Support audio worklets 2025-02-12 22:25:29 +02:00
README.md README.md 2025-01-20 10:13:48 +02:00
support.c Initial commit 2024-12-21 22:43:09 +02:00
teeny-sha1.c FUCK mongoose 2025-01-05 12:15:36 +02:00

Matroska over WebSocket Streaming

This repository actually holds three programs, so be careful to not lost in the saurce.

  • After make completes, wsrA is the relay program, which can be run as so: ./wsrA port=12345 key=MyFancyStreamingKeyIsOVERHERE.
  • Using the above example, one should stream to the HTTP path /push/MyFancyStreamingKeyIsOVERHERE. All other paths are expected to be used by WebSocket clients.
  • If using a reverse proxy (highly recommended), make sure to disable request buffering and the maximum request size. For nginx, you want proxy_request_buffering off; client_max_body_size 0;.
  • index.html, blarf.js, blarfwork.js, support.js and support.wasm are the frontend, which must be accessible to the browser.
  • You may insert a file named intermission.jpg that is shown when the stream is offline.
  • Of course you'll have to change the feed and chat endpoints in the index.html, if you don't want my stream.
  • You may also disable chat by setting ENABLE_CHAT to false.