Membrane.WebRTC.Endpoint (Membrane WebRTC plugin v0.1.0-alpha.1) View Source
Module representing a WebRTC connection.
Link to this section Summary
Link to this section Types
Specs
id() :: any()
Specs
t() :: %Membrane.WebRTC.Endpoint{ ctx: any(), id: id(), inbound_tracks: %{ required(Membrane.WebRTC.Track.id()) => Membrane.WebRTC.Track.t() }, type: :participant | :screensharing }
Specs
type() :: :screensharing | :participant
Link to this section Functions
Specs
get_audio_tracks(endpoint :: t()) :: [Membrane.WebRTC.Track.t()]
Specs
Specs
get_track_by_id(endpoint :: t(), id :: Membrane.WebRTC.Track.id()) :: Membrane.WebRTC.Track.t() | nil
Specs
get_tracks(endpoint :: t()) :: [Membrane.WebRTC.Track.t()]
Specs
get_video_tracks(endpoint :: t()) :: [Membrane.WebRTC.Track.t()]
Specs
new( id :: id(), type :: type(), inbound_tracks :: [Membrane.WebRTC.Track.t()], ctx :: any() ) :: Endpoint.t()
Specs
Specs
update_track_encoding( endpoint :: Endpoint.t(), track_id :: Membrane.WebRTC.Track.id(), encoding :: atom() ) :: Endpoint.t()