add bytes statistic for librtmp