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

Defines Fishjam.Component.t/0.

Component is a server-side entity that can publish, subscribe to and process tracks. For more information refer to Fishjam documentation.

Summary

Types

Id of the component, unique within the room.

Component-specific options.

t()

Stores information about the component.

Type of the component.

Types

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

Id of the component, unique within the room.

Component-specific options.

@type t() :: %Fishjam.Component{
  id: id(),
  properties: map(),
  tracks: [Fishjam.Track.t()],
  type: type()
}

Stores information about the component.

@type type() ::
  Fishjam.Component.HLS
  | Fishjam.Component.RTSP
  | Fishjam.Component.File
  | Fishjam.Component.SIP
  | Fishjam.Component.Recording

Type of the component.