You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
Can you share the commands you used to get this running? Thanks in advance.
i copied your code into a file called utils/rtsp-server.py
i ran the code with this command in terminal # 1
$ python3 pyrtsp.py
utils/rtsp-server.py:22: PyGIWarning: GstVideo was imported without specifying a version first. Use gi.require_version('GstVideo', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GObject, Gst, GstVideo, GstRtspServer
utils/rtsp-server.py:22: PyGIWarning: GstRtspServer was imported without specifying a version first. Use gi.require_version('GstRtspServer', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GObject, Gst, GstVideo, GstRtspServer
stream ready at rtsp://127.0.0.1:8554/test
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://127.0.0.1:8554/test
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not open resource for reading.
Additional debug info:
gstrtspsrc.c(5829): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
No supported authentication protocol was found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
The text was updated successfully, but these errors were encountered:
Hi there,
Can you share the commands you used to get this running? Thanks in advance.
$ python3 pyrtsp.py
$ gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test ! fakesink
The text was updated successfully, but these errors were encountered: