changed from RTMP to HLS

and add the quality option auto