Several (two) Flask objects in same application
Ok, Solution is :
app.run( threaded=True, ...)
Now it is possible to process at same time several requests, for exemple one for video streaming, other for video parameter tuning and so on.
I need two http servers in same python application (with two differents ports 8081 and 8082):
One for a video stream coming from webcam and sent to WebBrowser;
Second one for command (quality, filter, etc.)
I don't succeed to define two Flask objects, because 'app.run' is blocking.
Is it possible, or do I need to use a Flask and a BaseHTTPServer ?
Best regards.