sdp: Do not add email line by default

As specified in rfc4566 email line is optional

See https://bugzilla.gnome.org/show_bug.cgi?id=697162
This commit is contained in:
Jose Antonio Santos Cadenas 2013-04-02 17:03:38 +02:00 committed by Wim Taymans
parent 707d112315
commit 27abdf51bf

View file

@ -377,10 +377,6 @@ gst_sdp_message_as_text (const GstSDPMessage * msg)
g_string_append_printf (lines, "p=%s\r\n",
gst_sdp_message_get_phone (msg, i));
if (gst_sdp_message_emails_len (msg) == 0 &&
gst_sdp_message_phones_len (msg) == 0)
g_string_append_printf (lines, "e=NONE\r\n");
if (msg->connection.nettype && msg->connection.addrtype &&
msg->connection.address) {
g_string_append_printf (lines, "c=%s %s %s", msg->connection.nettype,