[Live-devel] Subclassing JPEGVideoSource

Roozbeh Zabihollahi ruzbeh at gmail.com
Sun Nov 14 13:16:34 PST 2004

I am working on streaming some jpeg images as a movie with rtsp protocol,

I read several mails in this mailing list and source code of library.
it seems i must subclass JPEGVideoSource class and implement my own
doGetNextFrame function. I am confused about its implementation and
createNew function, their parameters.

I read DeviceSource class comments, but i could not understand exact
meaning of them. if possible, could anyone help me with a sample
implementation of a JPEGVideoSource subclass code.

I have another problem, testOnDemandRTSPServer has different
architecture from testXXXStreamer codes. i mean if i implement my own
JpegVideoFileSource class, could i use it in OnDemandRTSPServer model
? or i must implement a JPEGVideoFileServerMediaSubSession class?

please help me,
Thank you,

More information about the live-devel mailing list