[Bug 781446] rtsp: Add support for the new RTSP 2.0 protocol (rfc7826)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 6 17:50:56 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=781446

--- Comment #12 from Thibault Saunier <tsaunier at gnome.org> ---
Review of attachment 354932:
 --> (https://bugzilla.gnome.org/review?bug=781446&attachment=354932)

> The Random-Access features handling seems to be a bit incomplete, a casual glance at the RFC sounds like they have added a lot of different modes!

I tried (and think managed) to synthesis all features related to the seeking
possiblities in the seekable field, now, as our sever is not able to do live
retention I am probably missing a few features there indeed.

::: gst/rtsp/gstrtspsrc.c
@@ +2513,3 @@
+        if (seekable) {
+          if (src->seekable > 0.0) {
+            start = src->last_pos - src->seekable * GST_SECOND;

The seekable value is defined in gst_rtsp_media_seekable as follow:

Returns: -1 if the stream is not seekable, 0 if seekable only to the beginning
and > 0 to indicate the longest duration between any two random access points.
G_MAXINT64 means any value is possible.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list