A flash player based RTMP encoder featuring with adobe FMLE style authentication and Javascript interface