Title: Samsung Enterprise Portal mySingle

Hello all,

First, I appreciate you for providing this good library.

 

I would like to make a suggestion.

I'm using MPEGProgramStreamParser class to demux live video stream from ip camera.

Currntly Chinese ip camera protocol(GB-28181) recommend for using PS stream to live streamming. (I don't understand why, but it is a specfication)

 

For this, I received PS video from ip camera via UDP, then demux into ES using MPEGProgramStreamParser class.

When I use MPEGProgramStreamParser class, I alwasy struck following exception statement.

 

.... // in MPEGProgramStreamParser::parse()

} catch (int /*e*/) {
#ifdef DEBUG
    fprintf(stderr, "MPEGProgramStreamParser::parse() EXCEPTION (This is normal behavior - *not* an error)\n");
    fflush(stderr);
#endif
    return 0;  // the parsing got interrupted
  }

...

 

I understand this is normal behavior. But if a stream is a realtime memory buffer not a file, there are too many exception warning messages in MS VS2010. As a result, It is too hard to distinguish real exceptional case in my application.

 

I'm attaching live555 source code modification to remove this warning.

I know this is not completely perfect solution, but I appreciate for reviewing this code and finding a better solution :)

 

Thanks again,

 

Attachment: live555_modification.diff
Description: Binary data

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to