<div>Doesn't turnOnBackgroundReadHandling() require a file descriptor/scoket as it's first argument?</div>
<div> </div>
<div>I built a little Parser (called from my framer) that uses the bytestreamFileSource object - that seems to be ok - I'm using it like you said.</div>
<div> </div>
<div>In my Framer, I just have my required funcs (isNALUnitEnd...(), doGetNextFrame) and a handler (deliverFrame()) that calls into the parser, then schedules a delayed task for FramedSource::afterGetting().</div>
<div> </div>
<div>my doGetNextFrame() func calls turnOnBackgroundReadHandling(), but I have no socket/fd to give it.</div>
<div> </div>
<div> </div>
<div>thanks for the quick response btw</div>
<div>-j.<br><br> </div>
<div><span class="gmail_quote">On 5/2/07, <b class="gmail_sendername">Ross Finlayson</b> <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">>I've learned from other posts that I need to implement a<br>>doGetNextFrame function.<br>>I wanted to read the file asynchronously and have the doGetNextFrame
<br>>function just do a turnOnBackgroundReadHandling() on the file socket<br>>so when the next frame is ready to be processed, the event loop will<br>>kick me into a handler(deliverFrame) each time. The problem is, I
<br>>dont have access to the file descriptor to tell the event loop about<br>>it.<br><br>I don't understand. Can you access your file by name? If so, then<br>just use "ByteStreamFileSource" as is, and feed this into your
<br>"H264VideoStreamFramer" subclass.<br><br>You don't need to worry about file descriptors; the<br>"ByteStreamFileSource" code takes care of this for you.<br>--<br><br>Ross Finlayson<br>Live Networks, Inc.
<br><a href="http://www.live555.com/">http://www.live555.com/</a><br>_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com
</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a><br></blockquote></div><br>