webrtc: Remove the webrtc-priv.h header from public headers
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Thu, 24 Jun 2021 18:58:12 +0000 (14:58 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 28 Jun 2021 16:06:59 +0000 (16:06 +0000)
And this time for real, also import it in a couple more places
inside the webrtc element to make it build.

Fixes #1607

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2359>

ext/webrtc/transportreceivebin.c
ext/webrtc/transportsendbin.c
ext/webrtc/transportstream.c
gst-libs/gst/webrtc/rtpreceiver.c
gst-libs/gst/webrtc/rtpreceiver.h

index fb556ed..786b0c2 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "transportreceivebin.h"
 #include "utils.h"
+#include "gst/webrtc/webrtc-priv.h"
 
 /*
  * ,-----------------------transport_receive_%u------------------,
index 794a94b..ee2312e 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "transportsendbin.h"
 #include "utils.h"
+#include "gst/webrtc/webrtc-priv.h"
 
 /*
  *           ,--------------transport_send_%u-------- ---,
index c08bfc0..e4933b9 100644 (file)
@@ -27,6 +27,7 @@
 #include "gstwebrtcice.h"
 #include "gstwebrtcbin.h"
 #include "utils.h"
+#include "gst/webrtc/webrtc-priv.h"
 
 #define transport_stream_parent_class parent_class
 G_DEFINE_TYPE (TransportStream, transport_stream, GST_TYPE_OBJECT);
index 5f4c4d4..8330105 100644 (file)
@@ -31,6 +31,7 @@
 #endif
 
 #include "rtpreceiver.h"
+#include "webrtc-priv.h"
 
 #define GST_CAT_DEFAULT gst_webrtc_rtp_receiver_debug
 GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
index 6a55457..5f02fda 100644 (file)
@@ -24,8 +24,6 @@
 #include <gst/webrtc/webrtc_fwd.h>
 #include <gst/webrtc/dtlstransport.h>
 
-#include "webrtc-priv.h"
-
 G_BEGIN_DECLS
 
 GST_WEBRTC_API