Optim for HLS/RTMP