<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.0 (Linux)"><meta name="AUTHOR" content="khaled2"><meta name="CREATED" content="20060320;10355600"><meta name="CHANGEDBY" content="khaled2"><meta name="CHANGED" content="20060320;11061800"> <style> <!-- @page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } --> </style> <div style="margin-bottom: 0cm;">Hi Ross,</div> <div style="margin-bottom: 0cm;"><br> </div> <div style="margin-bottom: 0cm;">I have been trying to play with the parameter maxSize but i couldnt notice any changes in the behavour of the system .</div> <div style="margin-bottom: 0cm;"><font color="#800000">unsigned</font> OutPacketBuffer::maxSize</div> <div style="margin-bottom: 0cm;"> I would like to know if there some fondamental changes i have to bring to the code supporting streams of type VOD to support in an efficient way live streams coming
from a streamer device .</div> <div style="margin-bottom: 0cm;">I am surprised to see that my relay is working perfectly when i use VOD ,even if i notice some lost packets but it jails when it is about to get the streams from LIVE video source.</div> <div style="margin-bottom: 0cm;">some times i can get 1 second of live stream then my client says that he is not receiving a stream for more then 10 sec and switches into TCP wich is not my purpose to make it running on that protocol.</div> <div style="margin-bottom: 0cm;">Do you see please any other parameters you think they are important to adapt it to support live streams or to parametrize it in a way to make it run on one device or the other?</div> <div style="margin-bottom: 0cm;">Thank a lot in advance for your precious advices.</div> <div style="margin-bottom: 0cm;">Sincerely.</div> <br><br><b><i>Tilouche Khaled <kall_tiller@yahoo.fr></i></b> a écrit :<blockquote class="replbq" style="border-left: 2px solid
rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <div style="margin-bottom: 0cm;"><font style="font-size: 8pt;" size="1">Hi Ross,</font></div> <div style="margin-bottom: 0cm;"><font style="font-size: 8pt;" size="1">as we see the error show up in the class MultiFramedRTPSource in fact it is my inputSource of type FramedSource used for my server.</font></div> <div style="margin-bottom: 0cm;"><font style="font-size: 8pt;" size="1">**************************************************************************</font></div> <div style="margin-bottom: 0cm;"><font style="font-size: 8pt;" size="1">« MultiFramedRTPSource::doGetNextFrame1(): The total received frame size exceeds the client's buffer size (156). 1280 bytes of trailing data will be dropped! »</font></div> <div style="margin-bottom: 0cm;"><br> </div> <pre style="margin-bottom: 0.5cm;"><font style="font-size: 8pt;" size="1"><b>if</b> (fNumTruncatedBytes > <font color="#0000ff">0</font>) {</font><br>
<font style="font-size: 8pt;" size="1">envir() &l!<br> t;<<br> <font color="#dd0000">"MultiFramedRTPSource::doGetNextFrame1(): <br>The total received frame size exceeds the client's buffer size ("</font></font><br> <font style="font-size: 8pt;" size="1"><< fSavedMaxSize << <font color="#dd0000">"). "</font></font><br> <font style="font-size: 8pt;" size="1"><< fNumTruncatedBytes << <br><font color="#dd0000">" bytes of trailing data will be dropped!</font><font color="#ff00ff">\n</font><font color="#dd0000">"</font>;</font><br><br><font style="font-size: 8pt;" size="1">}due to this peace of code</font><br><font style="font-size: 8pt;" size="1">****************************************************************************</font></pre> <div style="margin-bottom: 0cm;"> <font style="font-size: 8pt;" size="1">Since am developing a relay so am supposed to get the data from the streamer device and then serving it again into another
machine.</font></div> <div style="margin-bottom: 0cm;"><fo !="" nt="" style="font-size: 8pt;" size="1">So basicly to do so am using the ServerMediaSession and the OnDemandServerMediaSubsession</fo></div> <div style="margin-bottom: 0cm;"><font style="font-size: 8pt;" size="1">for sure the inputSource is filled up with the FramedSource coming from the MediaSession class</font></div> <div style="margin-bottom: 0cm;"><font style="font-size: 8pt;" size="1">fReadSource = fRTPSource</font><br> </div> <pre> <font style="font-size: 8pt;" size="1">= MPEG4ESVideoRTPSource::createNew(env(), fRTPSocket,</font><br> <font style="font-size: 8pt;" size="1">fRTPPayloadFormat,</font><br> <font style="font-size: 8pt;" size="1">fRTPTimestampFrequency);</font></pre> <div style="margin-bottom: 0cm;"> <font style="font-size: 8pt;" size="1">So as you see there is no FileSink receiver in my software structure the sink i am using is the one used in that serving class RTPSink created using the
method</font></div> <div style="margin-bottom: 0cm;"><br> <pre><font style="font-size: 8pt;" size="1">RTPSink * MPEG4ESVideoServerMediaSubsession::createNewRTPSink(Groupsock* rtpGroupsock, <font color="#800000">unsigned</font> <font color="#800000">char</font> rtpPayloadTypeIfDynamic) {</font><br> <font style="font-size: 8pt;" size="1"><b>return</b> MPEG4ESVideoRTPSink::createNew(envir(), rtpGroupsock, rtpPayloadTypeIfDynamic);</font><br><font style="font-size: 8pt;" size="1">}</font><br><font style="font-size: 8pt;" size="1">MPEG4ESVideoServerMediaSubsession is designed in the same way then </font><br><font style="font-size: 8pt;" size="1">MPEG4VideoFileServerMediaSubsession except it is not supporting File<br> but live FramedSources.</font><br><font style="font-size: 8pt;" size="1">Still now the RTPSink is of type MediaSink and contain a parameter called<br> maxSize</font><br><font style="font-size: 8pt;" size="1"><font color="#800000">unsigned</font>
OutPacketBuffer::maxSize = <font color="#0000ff">60000</font>; <i>!<br> <font color="#01bb14">// by default</font></i></font><br><font style="font-size: 8pt;" size="1">Infact i suspect it is the origin of troubles.</font><br><font style="font-size: 8pt;" size="1">is it the parameter am supposed to change? Knowing i dont use any other<br>types of sinks in my system cause i don wanna put my stream into a file since am <br>streaming it live.<br><br></font><font style="font-size: 8pt;" size="1">I ve tryed to increase it a bit nothing happens...<br>still getting the same troubles.</font><br><br><font style="font-size: 8pt;" size="1">could you please help me to get a higher client buffer in my case .</font><br><br><font style="font-size: 8pt;" size="1">Thanks a lot for your help.</font> </pre> <div> </div><br> </div></blockquote><br><p>
                <hr size=1> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com">Téléchargez</a> la version beta.