> I understand that this usage is a bit specific, so I have tried to
> solve this by deriving from live555 classes. I derived from
> SimpleRTPSink an RTP sink class which implements a
> frameCanAppearAfterPacketStart method, that, if its source object is of
> MPEG2TransportStreamMultiplexor, return true only if that object has
> data ready, namely if the next call to doGetNextFrame() would not
> call awaitNewBuffer(), that is if:
> fInputBufferBytesUsed < fInputBufferSize.
> 
> The reason why I am contacting this list is that I did not find a
> way to do this without modifying the MPEG2TransportStreamMultiplexor
> class. Do you see any?

No - but I think that your use case is a good one, so I’ve just installed a new 
version (2016.06.26) that adds a new public function to 
“MPEG2TransportStreamMultiplexor”:
        Boolean canDeliverNewFrameImmediately() const { return 
fInputBufferBytesUsed < fInputBufferSize; } 


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to