webrtc/datachannel: handle error messages from appsrc/sink
authorMatthew Waters <matthew@centricular.com>
Thu, 10 Nov 2022 03:31:43 +0000 (14:31 +1100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 11 Nov 2022 10:13:27 +0000 (10:13 +0000)
commit5ca39884207042ef542835847486101fc2249612
tree35c350082fcf2379d99fd3f7420a8435e00a72ea
parenta34e380e2ed6ae5d35611169a74c0deb61be4739
webrtc/datachannel: handle error messages from appsrc/sink

Fixes a possible race where closing a data channel may produce e.g.
not-linked errors.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3381>
subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c
subprojects/gst-plugins-bad/ext/webrtc/webrtcdatachannel.c
subprojects/gst-plugins-bad/ext/webrtc/webrtcdatachannel.h