Go to file
Daniel Flanagan 09b8c3b1a8
cvlc
2022-06-24 23:26:24 -05:00
deno.json plexer 2022-06-24 19:19:51 -05:00
readme.md cvlc 2022-06-24 23:26:24 -05:00
tcplexer.ts readme 2022-06-24 23:11:49 -05:00

readme.md

tcplexer

tcplexer is a tiny Deno app that receives TCP packets from one socket and copies those packets' contents to them all connected clients on another socket.

Example Usage

SOURCE_PORT=7517 CLIENT_PORT=7518 deno run --allow-net --allow-env tcplexer.ts &

ffmpeg -i 'rtsp://admin:pass@10.0.0.104' -vn \
  -i 'rtsp://admin:pass@10.0.0.222' -vn \
  -ac 1 -filter_complex amerge=inputs=2 \
  -hide_banner -loglevel error -f mp3 - \
    | netcat localhost 7517 &

cvlc 'tcp://localhost:7518'