View Source Jellyfish.Component (Jellyfish Server SDK v0.5.1)

Defines Jellyfish.Component.t/0.

Component is a server-side entity that can publish, subscribe to and process tracks. For more information refer to Jellyfish 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() :: %Jellyfish.Component{
  id: id(),
  properties: map(),
  tracks: [Jellyfish.Track.t()],
  type: type()
}

Stores information about the component.

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

Type of the component.