[Live-devel] JPEGVideoRTPSource and JPEGVideoSource

Ross Finlayson finlayson at live555.com
Thu Apr 10 06:32:46 PDT 2008


>What's the difference between JPEGVideoRTPSource and JPEGVideoSource?
>What JPEGVideoRTPSource do that JPEGVideoSource doesn't do (and vice-versa)?

"JPEGVideoRTPSource" encapsulates an incoming stream of motion-JPEG 
RTP packets.  This class is used by clients that receive network 
packets.

"JPEGVideoSource" encapsulates a stream of motion-JPEG frames that 
are *not* RTP packets.  For example, if you have a video camera, or 
video encoder, that produces a sequence of JPEG frames, then you 
would use a subclass of this class to encapsulate it.  (Note that 
"JPEGVideoSource" is an abstract base class that you would need to 
subclass, and implement a handful of virtual functions, for your own 
JPEG source.)
-- 

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


More information about the live-devel mailing list