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).
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 thepath
part. For example, instead ofrtsp://123.456.789.105:8445/somePath/trackID=0
We gotrtsp://123.456.789.105:8445/trackID=0
(without thesomePath
).So my little change fix it.