if (media == NULL)
goto media_not_found_no_reply;
- /* FIXME-WFD : wfd url problem */
-#if 0
if (path[matched] == '\0') {
if (gst_rtsp_media_n_streams (media) == 1) {
stream = gst_rtsp_media_get_stream (media, 0);
/* find the stream now using the control part */
stream = gst_rtsp_media_find_stream (media, control);
}
-#else
- control = g_strdup ("stream=0");
-
- /* find the stream now using the control part */
- stream = gst_rtsp_media_find_stream (media, control);
-#endif
if (stream == NULL)
goto stream_not_found;
G_SOCKET_FAMILY_IPV4, priv->udpsrc_v4, priv->udpsink,
&priv->server_port_v4, &priv->server_addr_v4);
- /* FIXME-WFD : force to disable ipv6 mode in WFD mode */
-#if 0
priv->have_ipv6 =
alloc_ports_one_family (stream, priv->pool, priv->buffer_size,
G_SOCKET_FAMILY_IPV6, priv->udpsrc_v6, priv->udpsink,
&priv->server_port_v6, &priv->server_addr_v6);
-#else
- priv->have_ipv6 = FALSE;
-#endif
return priv->have_ipv4 || priv->have_ipv6;
}