gstreamer/subprojects/gst-plugins-bad/gst-libs/gst
Johan Sternerup 212c09a70e webrtc: return error when sending on non-open datachannel
According to W3C
specification (https://w3c.github.io/webrtc-pc/#datachannel-send) we
should return InvalidStateError exception when trying to send when the
channel is not open. In the world of C/glib/gstreamer we don't have
exceptions but have to rely on gboolean/GError instead. Introducing
these calls for a change in function signature of the action signals
used to send data on the datachannel. Changing the signature of the
existing "send-string" and "send-data" signals would mean an immediate
breaking change so instead we deprecate them. Furthermore, there is no
way to express GError** as an argument to an action signal in a way
that fits language bindings (pointer-to-pointer simply does not work)
and we have to use regular functions instead.

Therefore we introduce gst_webrtc_data_channel_send_data_full() and
gst_webrtc_data_channel_send_string_full() while deprecating the old
functions and corresponding signals.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1958>
2022-10-05 11:08:30 +00:00
..
adaptivedemux meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
audio meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
basecamerabinsrc docs: fix unnecessary ampersand, < and > escaping in code blocks 2021-11-12 11:39:19 +00:00
codecparsers h265parse: fix typo in member of GstH265SPS 2022-10-04 10:01:12 +00:00
codecs codecs: av1decoder: Add the highest_spatial_layer field. 2022-09-16 09:45:00 +00:00
cuda cuda: Remove GST_CUDA_HAS_D3D define from header 2022-09-13 16:40:51 +00:00
d3d11 meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
insertbin meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
interfaces meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
isoff gst-plugins-bad: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
mpegts meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
opencv meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
play meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
player meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
sctp meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
transcoder meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
uridownloader meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
va va: allocator: Fix parameter name to match signature. 2022-09-13 14:57:21 +02:00
vulkan meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
wayland meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
webrtc webrtc: return error when sending on non-open datachannel 2022-10-05 11:08:30 +00:00
winrt gst-plugins-bad: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
glib-compat-private.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
meson.build cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00