ngraziano / SharpRTSP

A RTSP handling library
Other
538 stars 180 forks source link

Update RTSPClient.cs #112

Closed eyal7773 closed 6 months ago

eyal7773 commented 6 months ago

Hi, I would like to offer a small bug fix. In my case, the RTSP URI was rtsp://123.456.789.105:8445/somePath And, when the path doesn't end with a slash, so the previous code is actually deleting the path part. For example, instead of rtsp://123.456.789.105:8445/somePath/trackID=0 We got rtsp://123.456.789.105:8445/trackID=0 (without the somePath).

So my little change fix it.

ngraziano commented 6 months ago

Thanks