Various RTMP fixes.