ngraziano / SharpRTSP

A RTSP handling library
Other
557 stars 182 forks source link

Port couple parsing error #114

Closed Revan1985 closed 8 months ago

Revan1985 commented 8 months ago

Hell NGraziano. I have found a possible bug with some nvr softwares (Hanwha specifically). This nvr returns the port couple as 1-1, instead of 1-0 or 0-1. I assume, reading from their documentation (sorry, I cannot provide shader it, is under N.D.A.), that some specific models returns coupe as 1-1, assuming it as 1-0. This cause a bug in the data reading, as video is returned always as control, since is the first channel checked...