Skip to content
  • Wim Taymans's avatar
    media: add suspend modes · 2f17369e
    Wim Taymans authored
    Add support for different suspend modes. The stream is suspended right after
    producing the SDP and after PAUSE. Different suspend modes are available that
    affect the state of the pipeline. NONE leaves the pipeline state unchanged and
    is the current and old behaviour, PAUSE will set the pipeline to the PAUSED
    state and RESET will bring the pipeline to the NULL state.
    A stream is also unsuspended when it goes back to PLAYING, for RESET streams,
    this means that the pipeline needs to be prerolled again.
    
    Base on patches by Ognyan Tonchev <ognyan@axis.com>
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=711257
    2f17369e