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
@type id() :: String.t()
Id of the component, unique within the room.
@type options() :: Fishjam.Component.HLS.t() | Fishjam.Component.RTSP.t() | Fishjam.Component.File.t() | Fishjam.Component.SIP.t() | Fishjam.Component.Recording.t()
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.