RTSP no stream display

1,038 views
Skip to first unread message

Minh Tran

unread,
Sep 23, 2016, 3:02:29 AM9/23/16
to meetecho-janus
Hello all,

I have success running the janus gateway. But the problem is that I no stream to display on the demo testing page. It always show the Loading Icon and nothing happened after that. I have edited the configuration file like below:

[rtsp-test]
type = rtsp
id = 99
description = RTSP Test
audio = no
video = yes

On the server side:

[WARN] HTTPS webserver disabled
[WARN] Admin/monitor HTTP webserver disabled
[WARN] Admin/monitor HTTPS webserver disabled
JANUS REST (HTTP/HTTPS) transport plugin initialized!
HTTP/Janus sessions watchdog started
Creating new session: 1486722975333764
Creating new handle in session 1486722975333764: 3255178289263739
[3255178289263739] Creating ICE agent (ICE Full mode, controlling)
[3255178289263739] The DTLS handshake has been completed
WebRTC media is now available

I don't know why it does not work. Please help me.

Lorenzo Miniero

unread,
Sep 23, 2016, 4:09:47 AM9/23/16
to meetecho-janus
You should check the RTSP exchange between the Janus Streaming plugin and the RTSP server to see if it succeeds. If Janus doesn't receive any media from the RTSP server (which can happen if RTSP failed), then it can't possibly send anything to clients and you'll get nothing displayed. Same if the codec the RTSP server uses is unsupported by browsers.

L.

Minh Tran

unread,
Sep 23, 2016, 8:03:04 AM9/23/16
to meetecho-janus
How can I check the exchange between them?

Lorenzo Miniero

unread,
Sep 23, 2016, 8:39:48 AM9/23/16
to meetecho-janus
Look at the traffic or the RTSP server logs, if any.

L.

minhjirachi

unread,
Sep 23, 2016, 9:25:56 AM9/23/16
to meetecho-janus
I think if I have problem with the RTSP exchange between them, I will see: "Couldn't send DESCRIBE request: Timeout was reached". Is it right?

Lorenzo Miniero

unread,
Sep 23, 2016, 11:10:18 AM9/23/16
to meetecho-janus
Such an output may be a sign of trouble, yes.

L.
Message has been deleted

minhjirachi

unread,
Sep 23, 2016, 11:43:39 AM9/23/16
to meetecho-janus
I have the log of the janus. I can see that no video packet both send and receive.


I don't know how to fix this problem. Please check out my log.

Lorenzo Miniero

unread,
Sep 23, 2016, 11:45:47 AM9/23/16
to meetecho-janus
It's not a problem in Janus, so nothing I think we can debug there. You have to check why the RTSP communication with your server doesn't work. My guess is that we don't support the query string (the ?realstream part) but can't say for sure.

L.

minhjirachi

unread,
Sep 23, 2016, 12:34:56 PM9/23/16
to meetecho-janus
I think the problem from the Janus. Because I have test multiple rtsp link via: http://www.vlc.eu.pn/ . Most of those link was work fine with VLC. But when I add it to Janus Streaming Config, none of them work with Janus.

Tirolock

unread,
Mar 6, 2019, 9:11:17 AM3/6/19
to meetecho-janus
I wonder if this issue is related to the rtsp streaming plugin....

Correct me if I'm wrong but I think that this plugin uses GStreamer to get/distribute the rtsp feed.

I've had problems with GStreamer not working when given a rtsp feed from an ip camera. It worked just fine when using VLC.

Look at this issue on gstreamer's gitlab forum: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/338#note_94778

I don't know what to say... if VLC can read a rtsp feed from a camera, what makes gstreamer unable to do the same?
Reply all
Reply to author
Forward
0 new messages