[Bug 779484] New: Allow start_preroll to be overridden

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 2 17:35:34 UTC 2017


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

            Bug ID: 779484
           Summary: Allow start_preroll to be overridden
    Classification: Platform
           Product: GStreamer
           Version: 1.11.1
                OS: Mac OS
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: socialmediamaster9000 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

In order to build videocompositor/mosaic RTSP server, I subclassed
RTSPMediaFactory to create my own elements directly. Each RTSPMedia created by
the factory is in the same pipeline (so they can mux together). But RTSPMedia
does not allow you to share pipelines between Media elements, because as part
of the preparation process it prerolls the pipeline: it sets the pipeline state
to pause and then it listens for confirmation that it transitioned from ready
-> pause before activating everything. But if you are sharing a pipeline
between RTSPMedia it will already be in state playing most of the time, and new
medias that share the pipeline will not get prepared correctly.

My solution is to make the preroll method overridable.

I wanted some feedback on this before I continue...

-- 
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