<!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] getNextFrame
Variables</title></head><body>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#000000"><b>fTO</b> : a RTP buffer, we are to copy video data
into this buffer for framing</font><br>
<font face="Arial" size="-1" color="#000000"></font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#000000">eg.&nbsp; g_video_enc_rbuf-&gt;read(fTo, fMaxSize, 0);
//the read function will copy the data to fTo</font><br>
<font face="Arial" size="-1" color="#000000"></font></blockquote>
<blockquote type="cite" cite><font face="Arial"
color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font
size="-1">&nbsp;memcpy(fTo,g_video_enc_rbuf,fFrameSize); // using
memcpy function</font></font></blockquote>
<div><br></div>
<div>OK, but don't forget to assign &quot;fFrameSize&quot;
first.</div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>