How can I add a stream without a url mount point?
I'm trying to configure my application to serve a single videostream that can be accessed using only the ip adress and port. ex: rtsp://127.0.0.1:8554. The application works fine as long as I configure the stream with a url. When I try to not include the url, GStreamer says "media not found" when I try to open the stream from the client.
I attempted to do this by simply adding an empty string to the second parameter of this function :
gst_rtsp_mount_points_add_factory(mounts, "", factory);
The log then gives me this:
rtspmountpoints rtsp-mount-points.c:333:gst_rtsp_mount_points_add_factory: adding media factory 0000020CB48D83F0 for path
rtspmediafactory rtsp-media-factory.c:1356:gst_rtsp_media_factory_construct: constructed media 0000020CBA17C1D0 for url
rtspclient rtsp-client.c:2911:handle_describe_request: adding content-base: rtsp://127.0.0.1:6060/
rtspclient rtsp-client.c:3524:handle_request: client 0000020CBA145CD0: received a request SETUP rtsp://127.0.0.1:6060/stream=0 1.0
rtspmountpoints rtsp-mount-points.c:300:gst_rtsp_mount_points_match: found media factory 0000020CB48D83F0 for path /stream=0
Is there a way to avoid the default "/stream=0" url?