You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

512 B


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@' -vn \
  -i 'rtsp://admin:pass@' -vn \
  -ac 1 -filter_complex amerge=inputs=2 \
  -hide_banner -loglevel error -f mp3 - \
    | netcat localhost 7517 &

cvlc 'tcp://localhost:7518'