<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928"><LINK rel=stylesheet 
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana>Hi all,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>If RTMP_Write fails,&nbsp; 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,&nbsp; and this 
dead loop will cause stack overflow.</DIV>
<DIV>&nbsp;</DIV>
<DIV>see attached file for detail.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm working for streaming h264 video to FMS server, could anybody tell me 
the detail data buffer format of RTMP_Write?</DIV>
<DIV>&nbsp;</DIV>
<DIV>How to use RTMP_Write to send OnMetaData message to server?</DIV>
<DIV>&nbsp;</DIV>
<DIV>and then how to send video data through RTMP_Write?&nbsp; 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?</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks a lots.</DIV>
<DIV><FONT size=2 face=Verdana></FONT>&nbsp;</DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2010-12-11 
</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>

<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>lingyc888</SPAN> 
</FONT></DIV></FONT></BODY></HTML>