[Live-devel] Subclassing JPEGVideoSource

Roozbeh Zabihollahi ruzbeh at gmail.com
Tue Nov 16 08:18:10 PST 2004

Thank you Ross,
There are some problems in header parser in Elphel library, but i
implement the class as you said and everything works well.

Thank you very much for you great library and your help.

another note, I tested jpeg streaming with Apple's quicktime and it
works. i mean you can add quicktime in liveMedia webpage next of
mplayer and vlc player for jpeg supporter playes.

 - - Roozbeh

On Sun, 14 Nov 2004 17:33:31 -0800, Ross Finlayson <finlayson at live.com> wrote:
> >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.
> You could take a look at the "ElphelJPEGDeviceSource" class that we
> developed to stream from the Elphel m-JPEG camera:
> <http://www.live.com/Elphel/>  (Note the "source code" link.)
> >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?
> You would need to implement a "JPEGVideoFileServerMediaSubsession"
> class.  But don't worry - this is easy.  (See
> "AMRAudioFileServerMediaSubsession" for an good example of this.)
>        Ross Finlayson
>        LIVE.COM
>        <http://www.live.com/>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel

More information about the live-devel mailing list