<div class="gmail_quote"><div><font class="Apple-style-span" face="verdana, sans-serif">Thank you Ross for your response. I didn't explain myself earlier as I should. I have already read the FAQ of course before posting. </font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">I have understood that I have to create my own <span class="Apple-style-span" style="font-size: medium; ">createNewStreamSource </span>in a new myH264VideoFileServerMediaSubsession. My questions is, which is the simplest way to change the input and instead of reading from file, just give as input a data buffer uint8_t *. I guess I will have to change ByteStreamFileSource:createNew , right? That means ByteStreamFileSource::doReadFromFile ? </font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">For example putting into doReadFromFile input parameters a data buffer, and call it from my code? Does what I think make sense? </font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif">Do you have to suggest something faster and easier? </font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">Thank you again and sorry for my previous vague post. </font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">Sokratis</font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="verdana, sans-serif"> </font></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 15 Jun 2011 21:34:20 -0700<br>
From: Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>><br>
To: LIVE555 Streaming Media - development & use<br>
<<a href="mailto:live-devel@ns.live555.com">live-devel@ns.live555.com</a>><br>
Subject: Re: [Live-devel] stream from data pointer, not file<br>
Message-ID: <f06240800ca1f3822969c@[66.80.62.44]><br>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"<br>
<br>
>I want to stream the data included in<br>
><br>
>nal[0].p_payload (the variable is uint8_t *p_payload) which is<br>
>output of x264 encoding. I want to stream each byte after it gets<br>
>out of the encoder.<br>
>I am using testOnDemandRTSPServer (because I want unicast).<br>
>Which is the simplest way to do it?<br>
<br>
You could start by reading the FAQ, as you were asked to do before<br>
posting to the mailing list.<br>
--<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a><br>
<br><br>
</blockquote></div><br>