rtsp-client: normalize root mount point url for generating key in media factory
The mount point at / can be accessed by both the URL forms rtsp://<IP>:<PORT>
and rtsp://<IP>:<PORT>/
.
To make media factory generating the same key for both the URL forms, the url sent to gst_rtsp_media_factory_construct() needs to be normalized first.
This commit creates a new GstRTSPUrl as the normalized url to send to gst_rtsp_media_factory_construct().
Fixes:#1297 (closed)
Edited by Tim-Philipp Müller