View Source Membrane.RTC.Engine.Event.TrackVariantSwitched (Membrane RTC Engine v0.23.0)
Event sent whenever Engine starts sending a new track variant.
Summary
Types
@type t() :: %Membrane.RTC.Engine.Event.TrackVariantSwitched{ new_variant: Membrane.RTC.Engine.Track.variant(), reason: atom() | nil }
Type describing TrackVariantSwitched event.
new_variant
- variant that engine will be sending from nowreason
- a reason passed inMembrane.RTC.Engine.Event.RequestTrackVariant
. Defaults tonil
,