项目作者: mleeman

项目描述 :
GStreamer Element to handle RTP/RTCP
高级语言: C
项目地址: git://github.com/mleeman/gst-plugins-rtp.git
创建时间: 2018-11-16T23:10:58Z
项目社区:https://github.com/mleeman/gst-plugins-rtp

开源协议:GNU Lesser General Public License v2.1

下载


gst-plugins-rtp

This is a re-implementation of the RTP elements that are submitted in
2013 to handle RTP streams. The elements handle a correct connection
for the bi-directional use of the RTCP sockets.

https://bugzilla.gnome.org/show_bug.cgi?id=703111

The nrtp_rtpsink and nrtp_rtpsrc elements add an URI interface so that streams
can be decoded with decodebin using the rtp:// interface.

NOTE: these modules will be part of a GStreamer bad plugins >= 1.18.0.

The code can be used as follows

  1. gst-launch-1.0 videotestsrc ! x264enc ! rtph264pay config-interval=3 ! nrtp_rtpsink uri=rtp://239.1.1.1:1234
  2. gst-play-1.0 rtp://239.1.1.1:1234
  3. gst-launch-1.0 videotestsrc ! x264enc ! rtph264pay config-interval=1 ! nrtp_rtpsink uri=rtp://239.1.2.3:5000
  4. gst-launch-1.0 nrtp_rtpsrc uri=rtp://239.1.2.3:5000?encoding-name=H264 ! rtph264depay ! avdec_h264 ! videoconvert ! xvimagesink
  5. gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! rtpmp4vpay config-interval=1 ! nrtp_rtpsink uri=rtp://239.1.2.3:5000
  6. gst-launch-1.0 nrtp_rtpsrc uri=rtp://239.1.2.3:5000?encoding-name=MP4V-ES ! rtpmp4vdepay ! avdec_mpeg4 ! videoconvert ! xvimagesink