mkvserver_mk2
mkvserver_mk2 copied to clipboard
Feature request: Spawn process on connection
Hello,
I'm using gstreamer to stream from v4l. Currently, it consumes about 40% CPU, regardless if somebody watches or not.
It would be nice to specify a command that is executed as soon as the first viewer connects, and is killed as soon as the last viewer disconnects.
I hope it's understandable what I mean..
Current:
/root/gstreamer.sh | /root/mkvserver_mk2/server
Proposal: Something like /root/mkvserver_mk2/server --exec /root/gstreamer.sh --timeout 30
It would be nice to have. I'm tempted to implement this myself if I can spare the time.