Rtsp Stream With Gstreamer

566 views
Skip to first unread message

Mustafa Yuce

unread,
Jan 11, 2017, 9:11:52 AM1/11/17
to meetecho-janus

Hello,

       First sorry for my bad english. We are trying to sink rtsp stream to janus-gateway. We are now successfully direct rtsp to janus by gstreamer. When we try to see stream on janus web interface it is saying that "Stream Started" but nothing seems on screen. When we look at janus console logs it is capturing some of the packages successfully but for some packages it is giving error like this ;


gst-gstream] New video stream! (ssrc=19685404)
[ERR] [ice.c:janus_ice_send_thread:3586] [6611692869529667] ... SRTP protect error... srtp_err_status_bad_param (len=11-->11, ts=1989000, seq=442)...


Bye the way we are starting stream with gstream with the following command;

gst-launch-1.0 rtspsrc location=rtsp://192.168.1.235:554/h264_stream ! rtph264depay ! h264parse ! udpsink host=127.0.0.1 port=9999


And also we have the following config;

[gst-gstream]
type = rtp
id = 5
description = Gstream
video = yes
videoport = 9999
videopt = 96
videortpmap = H264/90000
videofmtp = profile-level-id=42e028;packetization-mode=1


What might be the reason of this situation ?

Lorenzo Miniero

unread,
Jan 11, 2017, 9:14:20 AM1/11/17
to meetecho-janus
You're not sending RTP, but raw frames (depay + h264parse before sink).

L.

Mustafa Yuce

unread,
Jan 11, 2017, 9:17:44 AM1/11/17
to meetecho-janus
Thanks for your quick response.

Could you please send me an example how to stream rtp packages. I am really in a very hard situation. I could not find any example. Please help me for this situation?

11 Ocak 2017 Çarşamba 17:14:20 UTC+3 tarihinde Lorenzo Miniero yazdı:

Mustafa Yuce

unread,
Jan 12, 2017, 12:23:52 AM1/12/17
to meetecho-janus

Alessandro Amirante

unread,
Jan 12, 2017, 3:45:05 AM1/12/17
to Mustafa Yuce, meetecho-janus
Try searching for "gstreamer" on this forum. There are plenty of examples of gstreamer pipelines that are working with Janus.

A.

2017-01-12 6:23 GMT+01:00 Mustafa Yuce <mustaf...@gmail.com>:
Thanks for your quick response.

Could you please send me an example how to stream rtp packages. I am really in a very hard situation. I could not find any example. Please help me for this situation?

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages