Membrane.RTC.Engine.add_endpoint

You're seeing just the function add_endpoint, go back to Membrane.RTC.Engine module for more information.
Link to this function

add_endpoint(pid, endpoint, opts)

View Source

Specs

add_endpoint(
  pid :: pid(),
  endpoint :: Membrane.ParentSpec.child_spec_t(),
  opts :: endpoint_options_t()
) :: :ok | :error

Adds endpoint to the RTC Engine

Returns :error when there are both peer_id and endpoint_id specified in opts. For more information refer to endpoint_options_t/0.