From ee0124cb3631cdfdeb92457e2c90ea43e4c58555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Thu, 24 Jun 2021 14:58:12 -0400 Subject: [PATCH] webrtc: Remove the webrtc-priv.h header from public headers 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: --- ext/webrtc/transportreceivebin.c | 1 + ext/webrtc/transportsendbin.c | 1 + ext/webrtc/transportstream.c | 1 + gst-libs/gst/webrtc/rtpreceiver.c | 1 + gst-libs/gst/webrtc/rtpreceiver.h | 2 -- 5 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ext/webrtc/transportreceivebin.c b/ext/webrtc/transportreceivebin.c index fb556eded7..786b0c2ba6 100644 --- a/ext/webrtc/transportreceivebin.c +++ b/ext/webrtc/transportreceivebin.c @@ -23,6 +23,7 @@ #include "transportreceivebin.h" #include "utils.h" +#include "gst/webrtc/webrtc-priv.h" /* * ,-----------------------transport_receive_%u------------------, diff --git a/ext/webrtc/transportsendbin.c b/ext/webrtc/transportsendbin.c index 794a94b2f8..ee2312e6a4 100644 --- a/ext/webrtc/transportsendbin.c +++ b/ext/webrtc/transportsendbin.c @@ -23,6 +23,7 @@ #include "transportsendbin.h" #include "utils.h" +#include "gst/webrtc/webrtc-priv.h" /* * ,--------------transport_send_%u-------- ---, diff --git a/ext/webrtc/transportstream.c b/ext/webrtc/transportstream.c index c08bfc0568..e4933b9618 100644 --- a/ext/webrtc/transportstream.c +++ b/ext/webrtc/transportstream.c @@ -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); diff --git a/gst-libs/gst/webrtc/rtpreceiver.c b/gst-libs/gst/webrtc/rtpreceiver.c index 5f4c4d4e50..8330105d84 100644 --- a/gst-libs/gst/webrtc/rtpreceiver.c +++ b/gst-libs/gst/webrtc/rtpreceiver.c @@ -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); diff --git a/gst-libs/gst/webrtc/rtpreceiver.h b/gst-libs/gst/webrtc/rtpreceiver.h index 6a55457cf6..5f02fda818 100644 --- a/gst-libs/gst/webrtc/rtpreceiver.h +++ b/gst-libs/gst/webrtc/rtpreceiver.h @@ -24,8 +24,6 @@ #include #include -#include "webrtc-priv.h" - G_BEGIN_DECLS GST_WEBRTC_API