synce1234 / aforge

Automatically exported from code.google.com/p/aforge
0 stars 0 forks source link

MJPEGStream could handle incorrect boundary values #157

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
hi andrew

From AForge.Video.MJPEGStream (framework version 2.1.4)

Some IP cameras, like Mobotix, claim that boundary is 
enclosed with quotes (e.g. boundary="MOBOTIX_Fast_Serverpush") when it is 
really --MOBOTIX_Fast_Serverpush

As an enhancement, I trimmed the boundary string: MJPEGStream.cs (line 457)

boudaryStr = boudaryStr.Trim('"');

I leave it to you to use it or not.
by the way, boudaryStr typo could be fixed at the same time :)

Great framework

Original issue reported on code.google.com by thomas.p...@gmail.com on 28 Sep 2010 at 4:19

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 28 Sep 2010 at 6:41

GoogleCodeExporter commented 8 years ago
Fixed, double quotes are removed.

Committed in revision 1347. Will be released in version 2.1.5.

Original comment by andrew.k...@gmail.com on 17 Nov 2010 at 3:56

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 12 Jan 2011 at 11:43