refining rtmp