Membrane.Pipeline.stop_and_terminate

You're seeing just the function stop_and_terminate, go back to Membrane.Pipeline module for more information.
Link to this function

stop_and_terminate(pipeline, opts \\ [])

View Source

Specs

stop_and_terminate(pipeline :: pid(), Keyword.t()) :: :ok | {:error, :timeout}

Changes pipeline's playback state to :stopped and terminates its process. It accpets two options:

  • blocking? - tells whether to stop the pipeline synchronously
  • timeout - if blocking? is set to true it tells how much time (ms) to wait for pipeline to get terminated. Defaults to 5000.