diff --git a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c index b4e0677e71..10d617f1f6 100644 --- a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c +++ b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c @@ -5555,7 +5555,7 @@ _generate_data_channel_id (GstWebRTCBin * webrtc) } /* client must generate even ids, server must generate odd ids */ - if (new_id % 2 == ! !is_client) + if (new_id % 2 == !(!is_client)) continue; channel = _find_data_channel_for_id (webrtc, new_id);