mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
Adding opus RTP payloader/depayloader element
Adding OPUS RTP module based on the current draft: http://tools.ietf.org/id/draft-spittka-payload-rtp-opus-00.txt https://bugzilla.gnome.org/show_bug.cgi?id=664817
This commit is contained in:
parent
dbca14b23b
commit
3a978f5a69
2 changed files with 14 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
plugin_LTLIBRARIES = libgstopus.la
|
||||
|
||||
libgstopus_la_SOURCES = gstopus.c gstopusdec.c gstopusenc.c gstopusparse.c gstopusheader.c gstopuscommon.c
|
||||
libgstopus_la_SOURCES = gstopus.c gstopusdec.c gstopusenc.c gstopusparse.c gstopusheader.c gstopuscommon.c gstrtpopuspay.c gstrtpopusdepay.c
|
||||
libgstopus_la_CFLAGS = \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
$(GST_PLUGINS_BASE_CFLAGS) \
|
||||
|
@ -9,10 +9,11 @@ libgstopus_la_CFLAGS = \
|
|||
libgstopus_la_LIBADD = \
|
||||
-lgstaudio-$(GST_MAJORMINOR) \
|
||||
$(GST_PLUGINS_BASE_LIBS) -lgsttag-$(GST_MAJORMINOR) \
|
||||
-lgstrtp-@GST_MAJORMINOR@ \
|
||||
$(GST_BASE_LIBS) \
|
||||
$(GST_LIBS) \
|
||||
$(OPUS_LIBS)
|
||||
libgstopus_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(LIBM)
|
||||
libgstopus_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
||||
noinst_HEADERS = gstopusenc.h gstopusdec.h gstopusparse.h gstopusheader.h gstopuscommon.h
|
||||
noinst_HEADERS = gstopusenc.h gstopusdec.h gstopusparse.h gstopusheader.h gstopuscommon.h gstrtpopuspay.h gstrtpopusdepay.h
|
||||
|
|
|
@ -25,6 +25,9 @@
|
|||
#include "gstopusenc.h"
|
||||
#include "gstopusparse.h"
|
||||
|
||||
#include "gstrtpopuspay.h"
|
||||
#include "gstrtpopusdepay.h"
|
||||
|
||||
#include <gst/tag/tag.h>
|
||||
|
||||
static gboolean
|
||||
|
@ -43,6 +46,14 @@ plugin_init (GstPlugin * plugin)
|
|||
GST_TYPE_OPUS_PARSE))
|
||||
return FALSE;
|
||||
|
||||
if (!gst_element_register (plugin, "rtpopusdepay", GST_RANK_NONE,
|
||||
GST_TYPE_RTP_OPUS_DEPAY))
|
||||
return FALSE;
|
||||
|
||||
if (!gst_element_register (plugin, "rtpopuspay", GST_RANK_NONE,
|
||||
GST_TYPE_RTP_OPUS_PAY))
|
||||
return FALSE;
|
||||
|
||||
gst_tag_register_musicbrainz_tags ();
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue