[Live-devel] Live555 Streaming from a live source

Ross Finlayson finlayson at live555.com
Sun Jul 11 02:46:22 PDT 2010


>We are trying to stream MPEG4 (Later on we will move to H.264)
>
>What is the best class to derive from instead of FramedSource in order to
>use DiscreteFramer downstream object?

Provided that your source object delivers one frame at a time, you 
should be able to feed it directly into a 
"MPEG4VideoStreamDiscreteFramer", with no modifications.


>  If I understood you correctly it is MPEG4VideoStreamDiscreteFramer and we
>should implement the function doGetNextFunction but looking on the code we
>thought it is best to implement the function afterGettingFrame1, yet it is
>not virtual so probably we are missing something.

No, there's nothing more for you to implement; just use 
"MPEG4VideoStreamDiscreteFramer" as is.

(For H.264, however, it'll be a bit more complicated; you will need 
to implement your own subclass of "H264VideoStreamFramer" for that.)

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list