webrtc/validate: update for fixed data channel closing scenario

Requires: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2186
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/39>
This commit is contained in:
Matthew Waters 2021-05-07 14:19:43 +10:00 committed by GStreamer Marge Bot
parent 875e01e90a
commit 5f9ba620ce

View file

@ -18,6 +18,6 @@ wait-for-data-channel, which="$(negotiation_responder)", id="gstreamer";
wait-for-data-channel, which="$(negotiation_initiator)", id="gstreamer";
wait-for-data-channel-state, which="$(negotiation_initiator)", id="gstreamer", state="open";
# only the browser closing works at the moment
close-data-channel, which="remote", id="gstreamer"
wait-for-data-channel-state, which="local", id="gstreamer", state="closed";
# close the data channel
close-data-channel, which="$(negotiation_initiator)", id="gstreamer"
wait-for-data-channel-state, which="$(negotiation_responder)", id="gstreamer", state="closed";