Add support for RTMP and FLV