webrtc/nice: Support domain name as connection-address of ICE candidate
[platform/upstream/gstreamer.git] / subprojects / gst-plugins-good / ext / soup / gstsoup.c
1 /* GStreamer
2  * Copyright (C) 2007-2008 Wouter Cloetens <wouter@mind.be>
3  * Copyright (C) 2021 Igalia S.L.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Library General Public License for more
14  */
15
16 #ifdef HAVE_CONFIG_H
17 #include "config.h"
18 #endif
19
20 #include <glib/gi18n-lib.h>
21
22 #include "gstsoupelements.h"
23 #include "gstsouploader.h"
24
25 static gboolean
26 plugin_init (GstPlugin * plugin)
27 {
28   gboolean ret = FALSE;
29
30   ret |= GST_ELEMENT_REGISTER (souphttpsrc, plugin);
31   ret |= GST_ELEMENT_REGISTER (souphttpclientsink, plugin);
32
33   return ret;
34 }
35
36 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
37     GST_VERSION_MINOR,
38     soup,
39     "libsoup HTTP client src/sink",
40     plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)