Membrane.WebRTC.Server.Peer.Options (WebRTC Server v0.1.3) View Source
Structure representing initial peer state. If Membrane.WebRTC.Server.Peer
is used in Cowboy or
Plug application, Elixir.Membrane.WebRTC.Server.Peer.Options
should be used as InitialState
in dispatch rule.
Fields
:module
- Custom module implementingMembrane.WebRTC.Server.Peer
callbacks.:custom_options
- Options passed toMembrane.WebRTC.Server.Peer.on_init/3
callback.:registry
- Registry in which Peer will lookup room.Membrane.WebRTC.Server.Registry
by default.
Link to this section Summary
Link to this section Types
Specs
t() :: %Membrane.WebRTC.Server.Peer.Options{ custom_options: any(), module: module(), registry: Registry.registry() }