Converted RTSCamera to js