Membrane.WebRTC.Server.Peer.Context (WebRTC Server v0.1.3) View Source

Structure representing a state of peer passed to every (but Membrane.WebRTC.Server.Peer.parse_request/1) callback.

Fields

  • :room - Pid of room process.
  • :peer_id - Unique identifier created automatically during peer initialization.

Link to this section Summary

Link to this section Types

Specs

t() :: %Membrane.WebRTC.Server.Peer.Context{
  peer_id: Membrane.WebRTC.Server.Peer.peer_id(),
  room: pid()
}