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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2359>
This commit is contained in:
Olivier Crête 2021-06-24 14:58:12 -04:00 committed by GStreamer Marge Bot
parent a2d5223473
commit ee0124cb36
5 changed files with 4 additions and 2 deletions

View file

@ -23,6 +23,7 @@
#include "transportreceivebin.h"
#include "utils.h"
#include "gst/webrtc/webrtc-priv.h"
/*
* ,-----------------------transport_receive_%u------------------,

View file

@ -23,6 +23,7 @@
#include "transportsendbin.h"
#include "utils.h"
#include "gst/webrtc/webrtc-priv.h"
/*
* ,--------------transport_send_%u-------- ---,

View 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);

View 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);

View 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