View Source Membrane.RTC.Engine.Message.TrackAdded (Membrane RTC Engine v0.23.0)
Message emitted when a track gets added.
Summary
Types
@type t() :: %Membrane.RTC.Engine.Message.TrackAdded{ endpoint_id: Membrane.RTC.Engine.Endpoint.id(), endpoint_type: Membrane.RTC.Engine.Endpoint.type(), track_encoding: Membrane.RTC.Engine.Track.encoding(), track_id: Membrane.RTC.Engine.Track.id(), track_metadata: any(), track_type: :audio | :video }
Describes TrackAdded message structure.
endpoint_id
- id of the endpoint that published the trackendpoint_type
- type of the endpoint that published the tracktrack_id
- id of the track that was addedtrack_type
- type of the track that was addedtrack_encoding
- encoding of the track that was addedtrack_metadata
- metadata of the added track