View Source Membrane.RTC.Engine.Message.EndpointMessage (Membrane RTC Engine v0.22.0)

Message emitted when an endpoint wishes to message the business logic.

Summary

Types

t()

Describes EndpointMessage message structure

Types

@type t() :: %Membrane.RTC.Engine.Message.EndpointMessage{
  endpoint_id: Membrane.RTC.Engine.Endpoint.id(),
  endpoint_type: Membrane.RTC.Engine.Endpoint.type(),
  message: term()
}

Describes EndpointMessage message structure

  • endpoint_id - id of the endpoint
  • endpoint_type - type of the endpoint
  • message - payload of the message sent by the endpoint