fix bug of librtmp