View Source Membrane.RTC.Engine.Message.NewPeer (Membrane RTC Engine v0.6.0)
Message emitted when a new peer from Client Library tries to join RTC Engine.
You can reply to this message using: Membrane.RTC.Engine.accept_peer/2
and
Membrane.RTC.Engine.deny_peer/2
or Membrane.RTC.Engine.deny_peer/3
.
Link to this section Summary
Link to this section Types
@type t() :: %Membrane.RTC.Engine.Message.NewPeer{ peer: Membrane.RTC.Engine.Peer.t(), rtc_engine: pid() }
Describes NewPeer Message structure.
rtc_engine
- pid of RTC Engine instance which emitted this messagepeer
- peer that tries to join to RTC Engine