<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: [Live-devel] Some questions need your
help!</title></head><body>
<blockquote type="cite" cite><font face="Arial" size="-2">Is it right
that I use the following ways to store the video stream in
openRTSP?</font></blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-2">&nbsp;</font></blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-2">MPEG4ESVideoRTPSource* m4esSource =
NULL;</font></blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-2">MediaSubsession* subsession = NULL;</font></blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-2">MediaSubsessionIterator* iter(*session);</font></blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-2">&nbsp;</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-2">subsession =
iter.next();</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-2">m4esSource =
subsession-&gt;Source();</font></blockquote>
<div><br></div>
<div>I don't understand your question; that code doesn't 'store'
anything.&nbsp; A &quot;RTPSource&quot; (subclass) is used for
*receiving* RTP packets, not for outputting anything.</div>
<div><br></div>
<div>Remember, once you've made modifications to the existing code,
you can't (in general) expect much support on this mailing list.</div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>