kyriesent / node-rtsp-stream

Stream any RTSP stream and output to websocket for consumption by jsmpeg (https://github.com/phoboslab/jsmpeg). HTML5 streaming video! Requires ffmpeg.
MIT License
451 stars 166 forks source link

adressable streams #76

Open maddanio opened 3 years ago

maddanio commented 3 years ago

Hi, This is very cool! Would it be hard to make it so many streams can be hosted on the same port? I.e. that I can specify from the client which of many streams I want? In our case there are easily 100 streams to choose from, and to set up separate ports for each (which would need maintenance in proxies and/or firewalls) would be quite burdensome. Also not afraid to get my hands dirty and helpt

leshy commented 3 years ago

there is a PR implementing this (in a bit of a manual way) here https://github.com/kyriesent/node-rtsp-stream/pull/75/