Hi all.
First my compliments for all your work, is very very great! ;-)
I'm writing a Framer for accessing Live RAW images copied in SHM  memory by
another application.
I use ffMpeg for encoding in MPEG4 (CODEC_ID_MPEG4)
I've created my Media SubSession for this scope whit these two methods:

FramedSource* MyMediaSubsession::createNewStreamSource(unsigned
clientSessionId, unsigned& estBitrate) {
...
// ffmpegStreamFramer is my implementation of a ffMpeg framer for MPEG4
InputSource = ffmpegStreamFramer::createNew(env, UrlParams);
return MPEG4VideoStreamFramer::createNew(env, InputSource);

Note that if your encoder is delivering discrete MPEG-4 video frames (i.e., one frame at a time), rather than an unstructured byte stream, then you should use "MPEG4VideoStreamDiscreteFramer" rather than "MPEG4VideoStreamFramer".
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to