View Source Fishjam.Peer (Fishjam Server SDK v0.6.0)

Defines Fishjam.Peer.t/0.

Peer is an entity that connects to the server to publish, subscribe to or publish and subscribe to tracks published by components and other peers. For more information refer to Fishjam documentation.

Summary

Types

Id of the peer, unique across within the room.

Peer-specific options.

Status of the peer.

t()

Stores information about the peer.

Type of the peer.

Types

@type id() :: String.t()

Id of the peer, unique across within the room.

@type options() :: Fishjam.Peer.WebRTC.t()

Peer-specific options.

@type status() :: :disconnected | :connected

Status of the peer.

@type t() :: %Fishjam.Peer{
  id: id(),
  metadata: any(),
  status: status(),
  tracks: [Fishjam.Track.t()],
  type: type()
}

Stores information about the peer.

@type type() :: Fishjam.Peer.WebRTC

Type of the peer.

Functions

Link to this function

status_from_string(status)

View Source