mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
sdp: parse encryption key field
* gst-libs/gst/sdp/gstsdpmessage.c: parse encryption key field (k). https://bugzilla.gnome.org/show_bug.cgi?id=720215
This commit is contained in:
parent
51038d70aa
commit
7a7ae7d5f4
1 changed files with 7 additions and 0 deletions
|
@ -2874,6 +2874,13 @@ gst_sdp_parse_line (SDPContext * c, gchar type, gchar * buffer)
|
|||
case 't':
|
||||
break;
|
||||
case 'k':
|
||||
read_string_del (str, sizeof (str), ':', &p);
|
||||
if (*p != '\0')
|
||||
p++;
|
||||
if (c->state == SDP_SESSION)
|
||||
gst_sdp_message_set_key (c->msg, str, p);
|
||||
else
|
||||
gst_sdp_media_set_key (c->media, str, p);
|
||||
break;
|
||||
case 'a':
|
||||
read_string_del (str, sizeof (str), ':', &p);
|
||||
|
|
Loading…
Reference in a new issue