GNOME Bugzilla – Bug 599154
RtpAudioPayload can send out buffers that are not exact multiple of the frame size
Last modified: 2009-10-23 11:02:24 UTC
Created attachment 145937 [details] [review] rtpaudiopayload: Only sent exact multiple of the frame size If the amount if incoming data + content of the adapter get over the maximum frame size (ie, the minimum of the mtu and the max-ptime), then the current class just cuts it there without first aligning it with the frame size. The attached patch first cuts it to the max frame size, then cuts it down to the alignment. Btw, this is a serious regression in 0.10.25, for anyone using framed audio codecs with RTP..
Comment on attachment 145937 [details] [review] rtpaudiopayload: Only sent exact multiple of the frame size ouch yes...
Commited: commit e27c24b2001bb1018b2cf3f11e74aaca301a66ff Author: Olivier Crête <olivier.crete@collabora.co.uk> Date: Wed Oct 21 12:38:59 2009 +0300 rtpaudiopayload: Only sent exact multiple of the frame size Also align the maximum size with the frame size, not only the minimum