View Source Membrane.ComponentPath (Membrane Core v1.2.3)

A list consisting of following pipeline/bin/element names down the assembled pipeline.

It traces element's path inside a pipeline. Information is being stored in a process dictionary and can be set/appended to.

Summary

Types

A list consisting of following pipeline/bin/element names down the assembled pipeline.

Functions

Returns formatted string of given path's names.

Returns currently stored path.

Works the same way as format/1 but uses currently stored path.

Sets current path.

Types

formatted_path()

@type formatted_path() :: String.t()

path()

@type path() :: [String.t()]

A list consisting of following pipeline/bin/element names down the assembled pipeline.

It traces element's path inside a pipeline. Information is being stored in a process dictionary and can be set/appended to.

Functions

format(path)

@spec format(path()) :: String.t()

Returns formatted string of given path's names.

get()

@spec get() :: path()

Returns currently stored path.

If path has not been set, empty list is returned.

get_formatted()

@spec get_formatted() :: String.t()

Works the same way as format/1 but uses currently stored path.

set(path)

@spec set(path()) :: :ok

Sets current path.

If path had already existed then replaces it.