<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face="Times New Roman" color=#000000 size=3>Hello,everyone.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face="Times New Roman" color=#000000 size=3>Happy New Year!</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3><FONT color=#000000><FONT face="Times New Roman">I want to stream live H.264 video which encoded by a hardware encoder(dsp) and every encoded frame is stored in a buffer( e.g. char *encode_data =(char*)malloc(ENCODE_FRAME_LEN) ). <SPAN style="mso-spacerun: yes">&nbsp;&nbsp;</SPAN></FONT></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face="Times New Roman" color=#000000 size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face="Times New Roman" color=#000000 size=3>I had read the FAQs of the live555 streaming media libraries, it provides some solutions about how to stream live video. However, I feel it is difficult to fill the code of functions described by FAQs since I didn¡¯t understand the library well.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT face="Times New Roman" color=#000000 size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT color=#000000><FONT size=3><FONT face="Times New Roman">I defined a subclass of ¡°H264VideoStreamFramer¡±----¡°H264VideoStreamDiscreteFramer¡±, it¡¯s member functions include ¡°<SPAN style="COLOR: black">virtual void doGetNextFrame()</SPAN>¡±,<SPAN style="COLOR: black"> ¡°void deliverFrame()¡±, ¡±virtual Boolean currentNALUnitEndsAccessUnit()¡± ¡­ how to fill these functions ?(I read the annotate in ¡°DeviceSource.hh¡± but puzzled. )<o:p></o:p></SPAN></FONT></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="COLOR: black"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman"><SPAN lang=EN-US style="COLOR: black"><FONT size=3>I also defined subclass of ¡°</FONT></SPAN><SPAN lang=EN-US><FONT color=#000000><FONT size=3>OnDemandServerMediaSubsession<SPAN style="COLOR: black">¡± ---</SPAN></FONT></FONT><SPAN style="COLOR: red"><FONT size=3> <o:p></o:p></FONT></SPAN></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="COLOR: black"><FONT size=3><FONT face="Times New Roman">¡°H264VideoLiveServerMediaSubsession¡± followed FAQs about the</FONT></FONT></SPAN><SPAN lang=EN-US style="COLOR: black"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>¡°testOnDemandRTSPServer¡±¡­how to fill the member functions? Just followed the existing ¡°FileServerMediaSubsession¡± subclass? <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="COLOR: black"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="COLOR: black"><FONT size=3><FONT face="Times New Roman">Could anyone give me some suggests? Thanks in advance.<o:p></o:p></FONT></FONT></SPAN></P><br /><hr />ÂÊÏȳ¢ÊÔ Windows Live Mail¡£ <a href='http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d' target='_new'>Windows Live Mail</a></body>
</html>