webrtc ice: Only ever request one component, it's always rtcpmux 79/263479/1
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Thu, 25 Feb 2021 16:58:57 +0000 (11:58 -0500)
committerSangchul Lee <sc11.lee@samsung.com>
Fri, 3 Sep 2021 06:44:12 +0000 (15:44 +0900)
Change-Id: Ic72fcc70844b5869961efed8878f815a087e71a9
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/119>

ext/webrtc/gstwebrtcice.c

index 2b389ef..5b7cda7 100644 (file)
@@ -237,7 +237,7 @@ _create_nice_stream_item (GstWebRTCICE * ice, guint session_id)
   struct NiceStreamItem item;
 
   item.session_id = session_id;
-  item.nice_stream_id = nice_agent_add_stream (ice->priv->nice_agent, 2);
+  item.nice_stream_id = nice_agent_add_stream (ice->priv->nice_agent, 1);
   item.stream = gst_webrtc_ice_stream_new (ice, item.nice_stream_id);
   g_array_append_val (ice->priv->nice_stream_map, item);