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.Peercallbacks.:custom_options- Options passed toMembrane.WebRTC.Server.Peer.on_init/3callback.:registry- Registry in which Peer will lookup room.Membrane.WebRTC.Server.Registryby 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()
}