mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
rtspreal: ignore data streams. Fixes #527112
Ignore data streams when parsing the SDP as they don't contain anything we need to put in the realmedia header.
This commit is contained in:
parent
bf2fc71eb1
commit
d99f4c9756
1 changed files with 3 additions and 0 deletions
|
@ -361,6 +361,9 @@ rtsp_ext_real_parse_sdp (GstRTSPExtension * ext, GstSDPMessage * sdp,
|
|||
|
||||
media = gst_sdp_message_get_media (sdp, i);
|
||||
|
||||
if (media->media && !strcmp (media->media, "data"))
|
||||
continue;
|
||||
|
||||
stream = g_new0 (GstRTSPRealStream, 1);
|
||||
ctx->streams = g_list_append (ctx->streams, stream);
|
||||
|
||||
|
|
Loading…
Reference in a new issue