[Live-devel] Live555 Streaming from a live source
Sagi Ben Moshe
sagi at netvision.net.il
Sun Jul 11 03:18:40 PDT 2010
Hi Ross,
Thanks for the hint, we understood our problem. We used
MPEG4VideoStreamFramer instead of MPEG4VideoStreamDiscreteFramer. We changed
this and now it looks much better.
Again, thank you very much for your great support and library.
For the next stage we would like to use H264 codec, so I think we should
write our own H264VideoStreamDiscreteFramer, is it correct?
Thanks,
Sagi
-----Original Message-----
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Sagi Ben Moshe
Sent: Sunday, July 11, 2010 1:12 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Live555 Streaming from a live source
Hi Ross,
Ok, we used the StreamParser class and probably this cause the problem we
have.
This is our Device class
class CapDeviceSource: public FramedSource {
We are trying to stream MPEG4 (Later on we will move to H.264)
What is the best class to derive from instead of FramedSource in order to
use DiscreteFramer downstream object?
If I understood you correctly it is MPEG4VideoStreamDiscreteFramer and we
should implement the function doGetNextFunction but looking on the code we
thought it is best to implement the function afterGettingFrame1, yet it is
not virtual so probably we are missing something.
Thanks,
Sagi
-----Original Message-----
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Friday, July 09, 2010 12:13 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Live555 Streaming from a live source
>I did not sure I understand your last statement "make sure that your
>downstream object always has enough buffer space to avoid trunction - i.e.,
>so that fMaxSize is always >= fFrameSize". How can I assure it, the
Live555
>library request 150,000 bytes exactly.
This is true only for the "StreamParser" class, which you should
*not* be using, because you are delivering discrete frames - rather
than a byte stream - to your downstream object. In particular, you
should be using a "*DiscreteFramer" object downstream, and not a
"*Framer".
What objects (classes) do you have 'downstream' from your input
device, and what type of data (i.e., what codec) is your
"DeviceSource" object trying to deliver? (This may help identify the
problem.)
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
More information about the live-devel
mailing list