GNOME Bugzilla – Bug 697277
SDP library does not include timing line if there is not timing information
Last modified: 2013-04-05 07:57:26 UTC
Created attachment 240616 [details] [review] Patch to solve the explained issue If you generate a GstSDPMessage and you do not add any time calling to gst_sdp_message_add_time the text generated by gst_sdp_message_as_text does not contain a "t=" line. I think that it should add a default line indicating that session is permanent (ie: t=0 0) because rfc4566 does not indicate that the timing line is optional. I attach a patch that implements this functionality.
The patch is applicable to master and 1.0 branches.
commit a83f96d988bfc323251046f11f1f517a128be2ef Author: Jose Antonio Santos Cadenas <santoscadenas@gmail.com> Date: Thu Apr 4 16:32:45 2013 +0200 sdp: Set session as permanent (t=0 0) if there is no time information Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697277