Hmm, I'v just found that, we should not comment that line in librtmp/rtmp.c.
You should better comment out the following lines in rtmpdump.c,
// if (!bLiveStream && !(protocol & RTMP_FEATURE_HTTP))
// rtmp.Link.lFlags |= RTMP_LF_BUFX;
But, please note that, on slow network bandwidth, this will make the video frames (that follow the buffer empty message) to be skipped in some frame, by the server.
----
http://bugmenot.com/view/stream-recorder.com