Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Spawn process on connection #33

Open
Sebbb opened this issue Nov 4, 2020 · 1 comment
Open

Feature request: Spawn process on connection #33

Sebbb opened this issue Nov 4, 2020 · 1 comment

Comments

@Sebbb
Copy link

Sebbb commented Nov 4, 2020

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

@vmsh0
Copy link

vmsh0 commented Apr 29, 2021

It would be nice to have. I'm tempted to implement this myself if I can spare the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants