<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:BatangChe;
        panose-1:2 3 6 9 0 1 1 1 1 1;}
@font-face
        {font-family:"\@BatangChe";
        panose-1:2 3 6 9 0 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Times New Roman";
        color:windowtext;}
 /* Page Definitions */
 @page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>

<div class=Section1 style='layout-grid:15.6pt'>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>Hi all:<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I
am reading the source code of the live555 now. What puzzles me a lot is the background
principle of the live555. Take testMPEG4VideoStreamer.cpp as an example:<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left'><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>I traced the program by inserting printf statement in
some function and saw the below information<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left'><font size=4 face="Times New Roman"><span lang=EN-US
style='font-size:14.0pt'>play()-&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left'><font size=4 face="Times New Roman"><span lang=EN-US
style='font-size:14.0pt'>RTPSink::startPlaying-&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left'><font size=4 face="Times New Roman"><span lang=EN-US
style='font-size:14.0pt'>MultiFramedRTPSink::continuePlaying-&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left'><font size=4 face="Times New Roman"><span lang=EN-US
style='font-size:14.0pt'>MultiFramedRTPSink::buildAndSendPacket-&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left'><font size=4 face="Times New Roman"><span lang=EN-US
style='font-size:14.0pt'>MultiFramedRTPSink::packFrame-&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left'><font size=4 face="Times New Roman"><span lang=EN-US
style='font-size:14.0pt'>FramedSource::getNextFrame-&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:
2.0gd;text-align:left'><font size=4 face="Times New Roman"><span lang=EN-US
style='font-size:14.0pt'>MPEGVideoStreamFramer::doGetNextFramer-&gt;</span></font><font
size=4><span lang=EN-US style='font-size:14.0pt'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-indent:21.0pt'><font size=4
face="Times New Roman"><span lang=EN-US style='font-size:14.0pt'>ByteStreamFileSource::doGetNextFrame</span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal align=left style='text-align:left;text-indent:21.0pt'><font
size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>That&#8217;s
it. I don&#8217;t know why </span></font><font size=4><span lang=EN-US
style='font-size:14.0pt'>ByteStreamFileSource::doGetNextFrame</span></font><font
size=3><span lang=EN-US style='font-size:12.0pt'> appears here suddenly. Who
calls it? I guess there may be some background jobs. As I can not find any code
about this calling, I am not sure about that.<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-indent:21.0pt'><font
size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.5pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-indent:21.0pt'><font
size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>Any
help<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-indent:21.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>Thank you<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.5pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoAutoSig><font size=4 face="Times New Roman"><span lang=EN-US
style='font-size:14.0pt'>Best </span></font><font size=4><span lang=EN-US
style='font-size:14.0pt'>Regards<o:p></o:p></span></font></p>

<p class=MsoAutoSig><font size=2 face="Times New Roman"><span lang=EN-US><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>