[Live-devel] Re: Re: RTP packet size

Ross Finlayson finlayson at live.com
Wed Apr 20 02:56:41 PDT 2005


>it is not RTCP: I am talking of RTP packets when
>sending an ES MPEG2 video

Then it appears that your 'slices' within each of your video frames must be 
unusually small.  The  packing rules for MPEG-2 (or MPEG-1) video are 
defined in "MPEG1or2VideoRTPSink.cpp".  Note, in particular, the 
implementation of the (virtual) function 
"frameCanAppearAfterPacketStart()".  It currently does not allow more than 
one slice to be packed within a packet.  (Instead, it allows a packet to 
contain
         header,...,header,slice
but not
         header,...,header,slice,...,slice
)

If you want to change this, change the implementation of
         MPEG1or2VideoRTPSink::frameCanAppearAfterPacketStart()
to just return True.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list