<html xmlns:v="urn:schemas-microsoft-com:vml" 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=big5">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:新細明體;
        panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
        {font-family:"\@新細明體";
        panose-1:2 2 3 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
/* Page Definitions */
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ZH-TW link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1>
<p class=MsoNormal style='text-autospace:none'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>>> 2. I have a
device which acts as a real-time MPEG4 video streaming <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>>>server. It resides
at rtsp://adm:12345@177.0.0.1:5000/udpstream. I can <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>>>use the example of
openRTSP program to communicate with it. But I read <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>>>the example of
openRTSP program a lot of times and I still cannot <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>>>understand one
thing which is 'Where has the continuously received <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>>>video stream
gone?'. Where can I find it?<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>>The output files -
named "video-<something>" and
"audio-<something>"<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>>- should be stored on
your computer, in the same directory from which you ran the
"openRTSP" application.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>Is it right that I use the following ways to store the
video stream in openRTSP?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>MPEG4ESVideoRTPSource* m4esSource = NULL;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>MediaSubsession* subsession = NULL;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>MediaSubsessionIterator* iter(*session);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>subsession = iter.next();<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>m4esSource = subsession->Source();<o:p></o:p></span></font></p>
</div>
</body>
</html>