Handling streams of IP cameras: MJPEG by HTTP and H264 by RTSP