webrtcbin: Validate locked m-lines in set*Description
authorOlivier Crête <olivier.crete@collabora.com>
Sat, 27 Mar 2021 00:02:13 +0000 (20:02 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Mon, 12 Apr 2021 21:55:07 +0000 (17:55 -0400)
commit2ca4cea5385d8fc63768dcf607cee460c7d0f79d
tree8421aef32262e4bac654d749bb48a70fc29440c9
parentbe84cc2c546401d830b29bb51610b3f22bbca5b8
webrtcbin: Validate locked m-lines in set*Description

Verify that the remote description match the locked m-lines, otherwise
just reject the SDP.

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