Menu
Hello I’ve been working on the Raspberry Pi and in my project I’m streaming a video to a web-page from the picamera. I wish to stop the streaming after a button is pressed on the web-page.
For this I’ll be running a python code (server side) that continuously polls and checks the content of a text file(server side) and when it matches what the code is looking for…. it’ll terminate the streaming.
Can anyone help me on this ? Also suggest some other better methods if you know any !