RTMP + HLS + onMeta handler code.