Looks like if Kurento wasn't able to receive the RTSP stream.
Please try these commands to see what happens. You are using the
Docker images, right, in that case,
1. Open up a terminal inside a Kurento Docker container:
docker run --rm -ti --entrypoint
/bin/bash kurento/kurento-media-server:latest
2. Ensure that required tools are installed:
apt-get update ; apt-get install
\
gstreamer1.5-{tools,libav} \
gstreamer1.5-plugins-{base,good,bad,ugly}
3. Set your RTSP URI into an environment variable:
RTSP_URI="rtsp://127.0.0.1:8554/video.sdp"
4. Try to play the RTSP stream with a basic command. Note any
warnings or errors:
GST_DEBUG="3,rtspsrc:5" \
gst-launch-1.5 --verbose \
playbin uri="$RTSP_URI"
uridecodebin0::source::latency=500
5. Also try with a bit more complex command with both audio and
video (assuming your media includes both audio and video...)
GST_DEBUG="3,rtspsrc:5" \
gst-launch-1.5 --verbose \
uridecodebin uri="$RTSP_URI"
source::latency=500 name=src \
src. ! "audio/x-raw" ! audioconvert
! fakesink \
src. ! "video/x-raw" ! videoconvert
! fakesink
If you have a local installation of Ubuntu 16.04 or 18.04 somewhere,
you could also run these commands directly, and instead of "
fakesink" you can use "
autoaudiosink" and "
autovideosink"
to have the video presented in the screen and speakers. Otherwise we
need to send the media to a "
fakesink"
because inside the Docker container there are no speakers or
graphical system, but at least it should allow you to see if there
are any errors.
--
Juan Navarro
Kurento developer
@j1elo at GitHub & Twitter