mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
e9aa117200
For libsrtp 1, add defines that translate the new namespaced identifiers to the old unnamespaced ones. Also move the code for setting and getting a stream's ROC into two compat functions that match libsrtp2's API. It seems that libsrtp2 properly supports changing the ROC without having to touch the sequence numbers afterwards, given that srtp_set_stream_roc sets a pending_roc field, so the entire roc_changed dance should not be needed anymore. The compat functions for libsrtp 1 just contain our preexisting hacks, however, so it's still needed there. libsrtp2 has no means of discovering the streams in the session, so to create the stats structure we need to iterate over our own set of SSRCs. For this we also need to re-add the previously removed ssrcs_set to the encoder. https://bugzilla.gnome.org/show_bug.cgi?id=776901
30 lines
714 B
Makefile
30 lines
714 B
Makefile
plugin_LTLIBRARIES = libgstsrtp.la
|
|
|
|
libgstsrtp_la_SOURCES = \
|
|
gstsrtp.c \
|
|
gstsrtp.h \
|
|
gstsrtpdec.c \
|
|
gstsrtpdec.h \
|
|
gstsrtpenc.c \
|
|
gstsrtpenc.h \
|
|
gstsrtpenums.h \
|
|
$(NULL)
|
|
|
|
libgstsrtp_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(SRTP_CFLAGS)
|
|
libgstsrtp_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \
|
|
-lgstrtp-@GST_API_VERSION@ \
|
|
$(GST_LIBS) \
|
|
$(SRTP_LIBS)
|
|
libgstsrtp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
glib_enum_headers=gstsrtpenums.h
|
|
glib_enum_define=GST_SRTP
|
|
glib_gen_prefix=gst_srtp
|
|
glib_gen_basename=gstsrtp
|
|
|
|
BUILT_SOURCES = gstsrtp-enumtypes.c gstsrtp-enumtypes.h
|
|
nodist_libgstsrtp_la_SOURCES = $(BUILT_SOURCES)
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
include $(top_srcdir)/common/gst-glib-gen.mak
|