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

No option to close the socket #5

Closed susheel61 closed 8 years ago

susheel61 commented 8 years ago

I have a requirment where I need to shutdown the socket and start again on every request as the stream urls might change. Or let me know if there is an option to stop creating new instance again and again which is giving me port already in use error.

susheel61 commented 8 years ago

i just used stream.wsServer.close();