I am working on system where I have to start live stream and simultaneously record video from multiple cameras. I using threading for each camera. I am able to do live stream fo