adjust the api, move audio and h264 after rtmp