rtsptransport: support single port for client_port and server_port
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 4 Sep 2020 19:09:17 +0000 (21:09 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Fri, 9 Oct 2020 21:43:33 +0000 (23:43 +0200)
commit11f12e49eb85c3b776bbb42d9b041aa74917dda7
treec7332f9fde63d42acb584cf2950b91c6d95010ca
parent44b1fb03fceb53228c3b8d7d04751ed21a6270d6
rtsptransport: support single port for client_port and server_port

This is explicitly specified as valid in the RFC, where the
syntax for both parameters is:

";" "client_port" "=" port [ "-" port ]
";" "server_port" "=" port [ "-" port ]

This is useful for applications where RTCP is either not necessary
or not possible.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/846>
gst-libs/gst/rtsp/gstrtsptransport.c