Use new librtmp APIs instead of grubbing around in RTMP struct