After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726777 - rtpjpegpay: payload size not correctly calculated
rtpjpegpay: payload size not correctly calculated
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.2.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2014-03-20 14:30 UTC by Ognyan Tonchev (redstar_)
Modified: 2014-03-27 08:47 UTC
See Also:
GNOME target: ---
GNOME version: ---

Take into account header length when calculating payload size (1.11 KB, patch)
2014-03-20 14:31 UTC, Ognyan Tonchev (redstar_)
none Details | Review

Description Ognyan Tonchev (redstar_) 2014-03-20 14:30:38 UTC
The RTP header size is not taken into account when deciding on a payload size. As a result RTP packets are slightly bigger than proposed MTU.
Comment 1 Ognyan Tonchev (redstar_) 2014-03-20 14:31:24 UTC
Created attachment 272489 [details] [review]
Take into account header length when calculating payload size
Comment 2 Ognyan Tonchev (redstar_) 2014-03-27 07:46:38 UTC
The problem is very noticeable when streaming content with the RTSP server over a TCP link and client chooses bigger value for the blocksize, for example 65524. In which case the size in the interleaved header overlaps.
Comment 3 Wim Taymans 2014-03-27 08:47:19 UTC
commit 2143a6e452172d8b84aef5a5764440f263b5bf3b
Author: Ognyan Tonchev <>
Date:   Thu Mar 20 15:28:26 2014 +0100

    jpegpay: consider header len when calculating payload len