Janus receives video RTSP but complains no video is received

215 views
Skip to first unread message

Joseph

unread,
Sep 18, 2021, 9:54:20 AM9/18/21
to meetecho-janus
I have been using the Streaming plugin from janus snap to connect to a public RTSP  stream. Janus Version - latest/stable:    v0.11.3             2021-06-23 (1237) 49MB.

However no matter how many public or in-house RTSP stream I tried I was unable to display them on the browser using janus. However, creating a RTP mounting and using gstreamer as below works:

gst-launch-1.0 rtspsrc protocols=tcp location="{URL}" short-header=TRUE ! rtph264depay ! decodebin ! x264enc tune=zerolatency bitrate=1500 speed-preset=superfast ! rtph264pay ! udpsink host=127.0.0.1 port=8004 sync=false

However, using janus to connect to RTSP apparently works and video is shown and being transferred but janus keeps saying no media is being transmitted and the browser indeed shows 0 kbits/sec...

Full log:

streaming config
rtsp-public: {
        type = "rtsp"
        id = 5
        url = "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov"
        audio = false
        video = true
        description = "my Stream new"
        videortpmap = "H264/90000"
        threads: 3
}
  
2021-09-18T13:39:30Z janus-gateway.janus-gateway[45778]: [WARN] [rtsp-public] 5s passed with no media, trying to reconnect the RTSP stream
2021-09-18T13:39:36Z janus-gateway.janus-gateway[45778]: [WARN] [rtsp-public] 5s passed with no media, trying to reconnect the RTSP

Could this be a janus-snap issue?

Reply all
Reply to author
Forward
0 new messages