[Live-devel] Buffer Question
Ross Finlayson
finlayson at live555.com
Thu Dec 22 19:00:14 PST 2011
> Here’s where I’m stuck:
> After I get the subsession relating to video started (via: “mSubsession->sink->startPlaying(*(mSubsession->readSource()),handlePlay,mSubsession);”), how do I get a populated frame/buffer to pass along to FFmpeg?
The incoming data (one frame at a time) is fed into your data sink object (i.e., some subclass of "MediaSink"). In the "openRTSP", the data sink is a "FileSink" (because the purpose of the "openRTSP" application is to write incoming data into a file). In your case, however, you will need to write your own subclass of "MediaSink" that passes incoming frames to FFmpeg for decoding.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111222/edef5ee7/attachment.html>
More information about the live-devel
mailing list