Commit 1d22207e authored by Benjamin Berg's avatar Benjamin Berg
Browse files

wfd: Remove SDP querying

Querying the SDP has no use and is not even possible at that point in
the process.
parent c4a33460
......@@ -363,7 +363,6 @@ wfd_media_factory_construct (GstRTSPMediaFactory *factory, const GstRTSPUrl *url
GstRTSPMedia *res;
GstRTSPClient *client;
GstRTSPStream *stream;
g_autoptr(GstSDPMessage) sdp = NULL;
res = GST_RTSP_MEDIA_FACTORY_CLASS (wfd_media_factory_parent_class)->construct (factory, url);
......@@ -371,8 +370,6 @@ wfd_media_factory_construct (GstRTSPMediaFactory *factory, const GstRTSPUrl *url
ctx = gst_rtsp_context_get_current ();
client = ctx->client;
sdp = GST_RTSP_CLIENT_GET_CLASS (client)->create_sdp (client, res);
stream = gst_rtsp_media_get_stream (res, 0);
gst_rtsp_stream_set_control (stream, "streamid=0");
g_debug ("WfdMedia init: Got %d streams", gst_rtsp_media_n_streams (res));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment