RTP to RTSP stream. Gstreamer to broadcast RTP & Kurento to generate RTSP Stream playable by VLC.

1,566 views
Skip to first unread message

nswa...@gmail.com

unread,
Jun 15, 2016, 4:28:51 AM6/15/16
to kurento
Hi,

I am working on raspberry PI which is able to generate RTP traffic(using gstreamer) towards WowZa on the opened port. Wowza in turn gives a rtsp uri of sdp file, which vlc can open and connect to the RTSP stream.

I want to do same thing using Kurento Media Server. Can it be done? If yes, any sample code to realize this quickly?
--
Neeraj

Ivan Gracia

unread,
Jun 15, 2016, 8:28:58 AM6/15/16
to kurento
Do you want to consume the RTSP feed served by Wowza from Kurento? Is that correct?
--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Neeraj Swarnkar

unread,
Jun 15, 2016, 10:16:39 AM6/15/16
to kurento
No really. I am using gstreamer on raspberry pi to broadcast traffic towards UDP port. I am planning to command like as given below.

gst-launch-1.0 v4l2src device=/dev/video0 do-timestamp=true \
! video/x-raw,format=I420,framerate=30/1,width=640,height=480 \
! omxh264enc control-rate=variable target-bitrate=512000 \
! video/x-h264,profile=main \
! h264parse \
! queue max-size-buffers=600 \
! rtph264pay config-interval=3 pt=96 \
! rtpbin.send_rtp_sink_0 \
\
rtpbin name=rtpbin do-retransmission=true \
rtpbin.send_rtp_src_0  ! udpsink clients=A.B.C.D:8010 \
rtpbin.send_rtcp_src_0 ! udpsink clients=A.B.C.D:8011 sync=false async=false

where A.B.C.D will be IP of my kurento media server. I want rtsp stream to the clients. whichever wants to view stream from raspberry.
I do not want Wowza in my case.

Regards
Neeraj Swarnkar

Ivan Gracia

unread,
Jun 15, 2016, 12:55:42 PM6/15/16
to Kurento Public
You are sending RTP from your PI, not RTSP. Did you check this thread or this other thread?

Ivan Gracia


Neeraj Swarnkar

unread,
Jun 15, 2016, 2:48:16 PM6/15/16
to kur...@googlegroups.com
Thanks a lot Ivan for timely response. Yes  I have mentioned the same that PI is sending  RTP. In the post mentioned by you, this leg seems similiar. While other leg, I dont want WebRTC but RTSP. i.e. if I connected to KMS provide rtsp uri i.e. say rtsp://KMS_IP/test_stream or rtsp://KMS_IP/test.sdp, vlc should be able to play the stream.

If I can get example code or pointers what I need to modify that will be great.

Regards
Neeraj Swarnkar

--
You received this message because you are subscribed to a topic in the Google Groups "kurento" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kurento/cVqvsV2tW5A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kurento+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Neeraj

Ivan Gracia

unread,
Jun 15, 2016, 2:49:30 PM6/15/16
to kur...@googlegroups.com
KMS does not provide RTSP, sorry. We can consume it, but not produce it.
Reply all
Reply to author
Forward
0 new messages