Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Handles client sockets for streaming in a separate thread #39
Implement multithreading to handle incoming client sockets, this will solve the blocking client problem with Tablets and Smart Phones.
May I suggest that there is a time-out setting for the live feed? Perhaps a function that kills the live feed request after a certain length of time? I'm thinking that the system is not set up to kill a live feed.
Even if there were multiple requests that succeed after you implement the fix in the next release, there is likely no need for the live feed to continue indefinitely. It is using resources on the Raspberry Pi and the network the Raspberry Pi is on - whether the live feed is successful or unsuccessful. In either case (success or fail) the process of providing a live feed should terminate at some period of time similar to how the cloud.kerbios.io system times out.
Perhaps this time period becomes an option in the Settings panel: