refine code, add rtmp client to dump rtmp stream