[Live-devel] live streaming: FAQ or MPEG4VideoStreamDiscreteFramer

Luca Zappella luca at filibusta.crema.unimi.it
Tue Jan 25 16:36:44 PST 2005


Hi,
I'm trying to use liveMedia to stream video frame grabbed from a camera
in unicast.
I have written my object to grab frame from a camera and using
libavcodec I can obtain e m4v stream (or mp4).
Now I'm a bit confused, reading these mails and the FAQ page it seems
that I have to redefine:

-a class from OnDemandServerMediaSubsession (but in the
testOnDemandRTSPServer I cannot understand who is creating this obj, it
seems it uses MPEG4VideoFileServerMediaSubsession instead)

-a class from FramedSource where I can encapsulate my encoder or copy
the frame encoded in the point pointed by fTo

Then I 've found the class MPEG4VideoStreamDiscreteFramer that seems to
do the work I need: stream, frame by frame, an mpeg4 video, so I don't
understand if this class is made to do that job or not.

Last question is: I was looking for some implementation of the
createNewStreamSource() virtual function of
OnDemandServerMediaSubsession class and I've seen that it receives a
clientsessionID, so I'm wondering if I have to manage each connection or
this work is made by the library.

Thank you for any aswer,
Luca


More information about the live-devel mailing list