mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
webrtcbin: ws-semantic is not supported
Don't offer something that isn't supported.
This commit is contained in:
parent
afbbc3a97e
commit
83b29b813e
1 changed files with 0 additions and 6 deletions
|
@ -2155,7 +2155,6 @@ _create_offer_task (GstWebRTCBin * webrtc, const GstStructure * options)
|
||||||
{
|
{
|
||||||
GstSDPMessage *ret;
|
GstSDPMessage *ret;
|
||||||
int i;
|
int i;
|
||||||
gchar *str;
|
|
||||||
GString *bundled_mids = NULL;
|
GString *bundled_mids = NULL;
|
||||||
gchar *bundle_ufrag = NULL;
|
gchar *bundle_ufrag = NULL;
|
||||||
gchar *bundle_pwd = 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_time (ret, "0", "0", NULL);
|
||||||
gst_sdp_message_add_attribute (ret, "ice-options", "trickle");
|
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) {
|
if (webrtc->bundle_policy == GST_WEBRTC_BUNDLE_POLICY_MAX_BUNDLE) {
|
||||||
bundled_mids = g_string_new ("BUNDLE");
|
bundled_mids = g_string_new ("BUNDLE");
|
||||||
} else if (webrtc->bundle_policy == GST_WEBRTC_BUNDLE_POLICY_MAX_COMPAT) {
|
} else if (webrtc->bundle_policy == GST_WEBRTC_BUNDLE_POLICY_MAX_COMPAT) {
|
||||||
|
|
Loading…
Reference in a new issue