(gst-rtsp-server) The media of factory attached to the mount point root path "\" can't be found
Nirbheek Chauhan
nirbheek.chauhan at gmail.com
Thu Sep 23 08:16:27 UTC 2021
Hi Bruce,
This has already been fixed:
https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/168
You might be trying with an older version of gstreamer. If so, try with 1.19.1.
Cheers,
Nirbheek
On Wed, Sep 22, 2021 at 6:00 PM Bruce Liang via gstreamer-devel
<gstreamer-devel at lists.freedesktop.org> wrote:
>
> Hi,
>
>
>
> I’m trying to attach factory to the mount point with root path “\” and use vlc to play the rtsp url, but the SETUP response is “404 Not Found”.
>
>
>
> Follow the document about [gst_rtsp_mount_points_add_factory]:
>
> https://gstreamer.freedesktop.org/documentation/gst-rtsp-server/rtsp-mount-points.html?gi-language=c
>
> “path is either of the form (/node)+ or the root path '/'.”
>
> It seems that the root path is allowed.
>
>
>
> Could someone tell me how to attach factory with root path “\” properly?
>
>
>
>
>
> The following is the communication sequence:
>
>
>
> OPTIONS rtsp://127.0.0.1:8554/ RTSP/1.0
>
> CSeq: 2
>
> User-Agent: LibVLC/3.0.8 (LIVE555 Streaming Media v2016.11.28)
>
>
>
> RTSP/1.0 200 OK
>
> CSeq: 2
>
> Public: OPTIONS, DESCRIBE, ANNOUNCE, GET_PARAMETER, PAUSE, PLAY, RECORD, SETUP, SET_PARAMETER, TEARDOWN
>
> Server: GStreamer RTSP server
>
> Date: Wed, 22 Sep 2021 11:07:27 GMT
>
>
>
> DESCRIBE rtsp://127.0.0.1:8554/ RTSP/1.0
>
> CSeq: 3
>
> User-Agent: LibVLC/3.0.8 (LIVE555 Streaming Media v2016.11.28)
>
> Accept: application/sdp
>
>
>
> RTSP/1.0 200 OK
>
> CSeq: 3
>
> Content-Type: application/sdp
>
> Content-Base: rtsp://127.0.0.1:8554/
>
> Server: GStreamer RTSP server
>
> Date: Wed, 22 Sep 2021 11:07:27 GMT
>
> Content-Length: 431
>
>
>
> v=0
>
> o=- 6942232140052196468 1 IN IP4 127.0.0.1
>
> s=Session streamed with GStreamer
>
> i=rtsp-server
>
> t=0 0
>
> a=tool:GStreamer
>
> a=type:broadcast
>
> a=control:*
>
> a=range:npt=0-
>
> m=video 0 RTP/AVP 96
>
> c=IN IP4 0.0.0.0
>
> b=AS:2097
>
> a=rtpmap:96 H264/90000
>
> a=fmtp:96 packetization-mode=1;profile-level-id=f40015;sprop-parameter-sets=Z/QAFZGbKDAS2AtQYGBkAAADAAXc1lAAPFi2WA==,aOvsRIRA
>
> a=control:stream=0
>
> a=ts-refclk:local
>
> a=mediaclk:sender
>
> SETUP rtsp://127.0.0.1:8554/stream=0 RTSP/1.0
>
> CSeq: 4
>
> User-Agent: LibVLC/3.0.8 (LIVE555 Streaming Media v2016.11.28)
>
> Transport: RTP/AVP/TCP;unicast;interleaved=0-1
>
>
>
> RTSP/1.0 404 Not Found
>
> CSeq: 4
>
> Server: GStreamer RTSP server
>
> Date: Wed, 22 Sep 2021 11:07:27 GMT
>
>
>
>
>
> Thanks,
>
> Bruce Liang
>
> *** Confidentiality Note *** This e-mail message and any accompanying documents are for sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
More information about the gstreamer-devel
mailing list