sdp: Set session as permanent (t=0 0) if there is no time information
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697277
This commit is contained in:
parent
48208c61a8
commit
a83f96d988
@ -399,6 +399,9 @@ gst_sdp_message_as_text (const GstSDPMessage * msg)
|
||||
bandwidth->bandwidth);
|
||||
}
|
||||
|
||||
if (gst_sdp_message_times_len (msg) == 0) {
|
||||
g_string_append_printf (lines, "t=0 0\r\n");
|
||||
} else {
|
||||
for (i = 0; i < gst_sdp_message_times_len (msg); i++) {
|
||||
const GstSDPTime *times = gst_sdp_message_get_time (msg, i);
|
||||
|
||||
@ -415,6 +418,7 @@ gst_sdp_message_as_text (const GstSDPMessage * msg)
|
||||
g_string_append_printf (lines, "\r\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (gst_sdp_message_zones_len (msg) > 0) {
|
||||
const GstSDPZone *zone = gst_sdp_message_get_zone (msg, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user