roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.03k stars 205 forks source link

Zero port is missing when formatting endpoint URI #519

Closed gavv closed 1 year ago

gavv commented 1 year ago

URI with zero port is incorrectly formatted as rtsp://192.168.0.1 instead of rtsp://192.168.0.1:0. In format_endpoint_uri, the check should be if (u.port() >= 0), not if (u.port() > 0).

gavv commented 1 year ago

Fixed in 3d7cc59c45b5a36c64972e35ad98b47e878cb003

gavv commented 1 year ago

Tagged 0.2.3 with this fix included.