[rtmpdump] RTMP_Write fails will cause RTMP_Close enterring dead loop and stack overflow (rtmpdump v2.3 )

lingyc888 lingyc888 at gmail.com
Sat Dec 11 08:35:02 CET 2010


Hi all,

If RTMP_Write fails,  RTMP_Close will be called, but RTMP_Close will send unpublish and delete stream message before closing socket and setting socket closed flag , it will fail and call RTMP_Close once again,  and this dead loop will cause stack overflow.

see attached file for detail.

I'm working for streaming h264 video to FMS server, could anybody tell me the detail data buffer format of RTMP_Write?

How to use RTMP_Write to send OnMetaData message to server?

and then how to send video data through RTMP_Write?  how to send pps and sps of H264 stream? only send one time before first I frame or must be sent before each I frame?

thanks a lots.

2010-12-11 



lingyc888 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20101211/02aec6cd/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtmp_deadloop.PNG
Type: application/octet-stream
Size: 128683 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20101211/02aec6cd/attachment-0001.obj>


More information about the rtmpdump mailing list