[Live-devel] RTP MJPEG: block network packets without data

Ross Finlayson finlayson at live555.com
Mon Dec 2 18:51:39 PST 2013


> I use live555 2013.11.29 on board with FreeScale iMX53 CPU.
> Unfortunally periodically I see packets without data, I use wireshark,
> it contained only MJPEG header (Main header and Quantization table
> gheader), please see attache (bad_mjpeg.txt (4 kB), good_mjpeg.txt (10
> kB)). As result this packages, I think, I see line on image bottom.
> How can I block sending this packets?

The problem here is your data source class - i.e., your subclass of "JPEGVideoSource" that is generating JPEG frames.  For some reason it is occasionally delivering a 0-length frame.  You need to fix the bug (in your own code) that is causing this to happen.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20131203/45565360/attachment.html>


More information about the live-devel mailing list