pimterry / raspivid-stream

Raspberry pi cam video, as a stream you can send straight to web clients
MIT License
38 stars 7 forks source link

Any recommendation on how to stop the stream? #3

Open MikelDB opened 5 years ago

MikelDB commented 5 years ago

Hi! First of all, thank you for this is amazing. I was wondering if there was any easy way to stop the data transmission, I'm trying to not consume data while not really using the images but don't manage to do it.

pimterry commented 5 years ago

Hi @MikelDB. Right now there's now way to stop the stream, other than ending the node process completely.

Internally this library is built on https://github.com/binocarlos/raspivid, which also has no way to stop the stream, that's the main problem.

I'd be happy to merge a PR to do this though, if you like. You'd need to: