mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
f54dd50203
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
18 lines
815 B
Makefile
18 lines
815 B
Makefile
plugin_LTLIBRARIES = libgstrtspclientsink.la
|
|
|
|
libgstrtspclientsink_la_SOURCES = gstrtspclientsink.c plugin.c
|
|
|
|
libgstrtspclientsink_la_CFLAGS = -I$(top_srcdir) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS)
|
|
|
|
# FIXME: Hack to avoid having to add GETTEXT_PACKAGE to gst-rtsp
|
|
libgstrtspclientsink_la_CFLAGS += -D"GETTEXT_PACKAGE=gst-rtsp-server-1.0"
|
|
|
|
libgstrtspclientsink_la_LIBADD = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
|
|
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
|
|
-lgstrtp-@GST_API_VERSION@ -lgstrtsp-@GST_API_VERSION@ \
|
|
-lgstsdp-@GST_API_VERSION@ $(GST_NET_LIBS) $(GST_LIBS) \
|
|
$(GIO_LIBS)
|
|
libgstrtspclientsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstrtspclientsink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
|
|
|
noinst_HEADERS = gstrtspclientsink.h
|