[Live-devel] what if MultiFramedRTPSource::doGetNextFrame1 get a multiframed packet?

Ross Finlayson finlayson at live555.com
Mon Sep 15 23:26:45 PDT 2008


At 10:45 PM 9/15/2008, you wrote:
>I read the source code again,yes,"MPEG4GenericRTPSource" indeed 
>implements multiple frames per packet by reimplementation of the 
>virtual function 
>"MPEG4GenericBufferedPacket::nextEnclosedFrameSize()",but it had not 
>update the "fPresentationTime" after the first received frame,since 
>"frameDurationInMicroseconds" is always 0.In that case,from a 
>multiframed packet,we will get several frames with the same 
>timestamp,is it a bug?

In principle, yes.  However, in practice, because we don't actually 
decode the media data, it would be difficult for an implementation to 
figure out the duration of each frame within the packet, so we don't 
try to do this.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list