rtspsink: Add rtspclientsink element
authorJan Schmidt <jan@centricular.com>
Mon, 16 Nov 2015 14:12:28 +0000 (01:12 +1100)
committerJan Schmidt <jan@centricular.com>
Thu, 28 Jan 2016 14:44:26 +0000 (01:44 +1100)
commitf54dd50203b4ff3f9b3e2cc06c4528defa9e2ac8
tree2ab4ecc5bc7743cff7f97f2442d77eb5aa3c2b7d
parentb6ca057c720c2528c9fd557d4b84db83fa0412ee
rtspsink: Add rtspclientsink element

Add an rtspclientsink element that accepts streams for which
there is a registered payloader and sends them to
an RTSP server using RECORD.

Sending is synchronised to the pipeline clock. Payload-types
are automatically selected. The 'new-payloader' signal is fired
for custom configuration of payloaders when they are created.

Can now stream a movie like this:

receiver:
  ./test-record "( decodebin name=depay0 ! videoconvert ! autovideosink \
       decodebin name=depay1 ! audioconvert ! autoaudiosink )"
sender:
  gst-launch-1.0 filesrc location=file-with-aac-and-h264.mp4 ! qtdemux name=d ! \
       queue ! aacparse ! rtspclientsink location=rtsp://127.0.0.1:8554/test name=s \

https://bugzilla.gnome.org/show_bug.cgi?id=758180
.gitignore
configure.ac
gst/Makefile.am
gst/rtsp-sink/Makefile.am [new file with mode: 0644]
gst/rtsp-sink/gstrtspclientsink.c [new file with mode: 0644]
gst/rtsp-sink/gstrtspclientsink.h [new file with mode: 0644]
gst/rtsp-sink/plugin.c [new file with mode: 0644]
tests/check/Makefile.am
tests/check/gst/rtspclientsink.c [new file with mode: 0644]