Documentation ¶
Index ¶
Constants ¶
View Source
const ( EgressTypeRoomComposite = "room_composite" EgressTypeWeb = "web" EgressTypeParticipant = "participant" EgressTypeTrackComposite = "track_composite" EgressTypeTrack = "track" OutputTypeFile = "file" OutputTypeStream = "stream" OutputTypeSegments = "segments" OutputTypeImages = "images" OutputTypeMultiple = "multiple" Unknown = "unknown" )
Variables ¶
View Source
var ( ErrNoResponse = errors.New("no response from egress service") ErrEgressTimedOut = errors.New("egress timed out") )
Functions ¶
func BuildEgressToken ¶
func GetOutputType ¶ added in v1.6.1
func GetOutputType(req interface{}) string
Types ¶
type DirectOutput ¶ added in v1.14.0
type DirectOutput interface { GetFile() *livekit.DirectFileOutput GetWebsocketUrl() string }
type EncodedOutput ¶ added in v1.6.1
type EncodedOutput interface { GetFileOutputs() []*livekit.EncodedFileOutput GetStreamOutputs() []*livekit.StreamOutput GetSegmentOutputs() []*livekit.SegmentedFileOutput GetImageOutputs() []*livekit.ImageOutput }
type EncodedOutputDeprecated ¶ added in v1.6.1
type EncodedOutputDeprecated interface { GetFile() *livekit.EncodedFileOutput GetStream() *livekit.StreamOutput GetSegments() *livekit.SegmentedFileOutput }
Click to show internal directories.
Click to hide internal directories.