webrtc: Split sctptransport into lib and implementation parts
authorJohan Sternerup <johast@axis.com>
Fri, 7 May 2021 06:12:25 +0000 (08:12 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 25 Aug 2021 13:20:22 +0000 (13:20 +0000)
commit607ef6db60e9ec70b89e79ccc7bd56b73ec2dcb2
tree9f8554bc61ad5e518bf75946f82a0439b33a9029
parent7f9bb150555606230f00b2caa0894243859f19d8
webrtc: Split sctptransport into lib and implementation parts

GstWebRTCSCTPTransport is now made into into an abstract base class
that only contains property specifications matching the
RTCSctpTransport interface of the W3C WebRTC specification, see
https://w3c.github.io/webrtc-pc/#rtcsctptransport-interface. This
class is put into the WebRTC library to expose it for applications and
to allow for generation of bindings for non-dynamic languages using
GObject introspection.

The actual implementation is moved to the subclass WebRTCSCTPTransport
located in the WebRTC plugin.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2214>
12 files changed:
ext/webrtc/gstwebrtcbin.c
ext/webrtc/gstwebrtcbin.h
ext/webrtc/meson.build
ext/webrtc/webrtcdatachannel.c
ext/webrtc/webrtcdatachannel.h
ext/webrtc/webrtcsctptransport.c [moved from ext/webrtc/sctptransport.c with 59% similarity]
ext/webrtc/webrtcsctptransport.h [new file with mode: 0644]
gst-libs/gst/webrtc/meson.build
gst-libs/gst/webrtc/sctptransport.c [new file with mode: 0644]
gst-libs/gst/webrtc/sctptransport.h [moved from ext/webrtc/sctptransport.h with 66% similarity]
gst-libs/gst/webrtc/webrtc-priv.h
gst-libs/gst/webrtc/webrtc_fwd.h