branch srs-librtmp merge from allspace.