webrtcbin: ws-semantic is not supported

Don't offer something that isn't supported.
This commit is contained in:
Luis de Bethencourt 2018-10-26 14:36:37 +01:00
parent afbbc3a97e
commit 83b29b813e

View file

@ -2155,7 +2155,6 @@ _create_offer_task (GstWebRTCBin * webrtc, const GstStructure * options)
{
GstSDPMessage *ret;
int i;
gchar *str;
GString *bundled_mids = NULL;
gchar *bundle_ufrag = NULL;
gchar *bundle_pwd = NULL;
@ -2173,11 +2172,6 @@ _create_offer_task (GstWebRTCBin * webrtc, const GstStructure * options)
gst_sdp_message_add_time (ret, "0", "0", NULL);
gst_sdp_message_add_attribute (ret, "ice-options", "trickle");
/* https://tools.ietf.org/html/draft-ietf-mmusic-msid-05#section-3 */
str = g_strdup_printf ("WMS %s", GST_OBJECT (webrtc)->name);
gst_sdp_message_add_attribute (ret, "msid-semantic", str);
g_free (str);
if (webrtc->bundle_policy == GST_WEBRTC_BUNDLE_POLICY_MAX_BUNDLE) {
bundled_mids = g_string_new ("BUNDLE");
} else if (webrtc->bundle_policy == GST_WEBRTC_BUNDLE_POLICY_MAX_COMPAT) {