Documentation ¶
Index ¶
- Constants
- Variables
- func BuildEgressToken(egressID, apiKey, secret, roomName string) (string, error)
- func GetOutputType(req interface{}) string
- func GetTypes(request interface{}) (string, string)
- func RedactAutoEncodedOutput(out AutoEncodedOutput)
- func RedactDirectOutputs(out DirectOutput)
- func RedactEncodedOutputs(out EncodedOutput)
- func RedactStreamKeys(stream *livekit.StreamOutput)
- func RedactUpload(req UploadRequest)
- type AutoEncodedOutput
- type DirectOutput
- type EncodedOutput
- type EncodedOutputDeprecated
- type UploadRequest
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 = psrpc.NewErrorf(psrpc.Unavailable, "no response from egress service") ErrEgressTimedOut = psrpc.NewErrorf(psrpc.DeadlineExceeded, "egress timed out") )
Functions ¶
func BuildEgressToken ¶
func GetOutputType ¶ added in v1.6.1
func GetOutputType(req interface{}) string
func RedactAutoEncodedOutput ¶ added in v1.16.0
func RedactAutoEncodedOutput(out AutoEncodedOutput)
func RedactDirectOutputs ¶ added in v1.16.0
func RedactDirectOutputs(out DirectOutput)
func RedactEncodedOutputs ¶ added in v1.16.0
func RedactEncodedOutputs(out EncodedOutput)
func RedactStreamKeys ¶ added in v1.16.0
func RedactStreamKeys(stream *livekit.StreamOutput)
func RedactUpload ¶ added in v1.16.0
func RedactUpload(req UploadRequest)
Types ¶
type AutoEncodedOutput ¶ added in v1.16.0
type AutoEncodedOutput interface { GetFileOutputs() []*livekit.EncodedFileOutput GetSegmentOutputs() []*livekit.SegmentedFileOutput }
Outputs that can be used in egress that are started automatically on room creation
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 { AutoEncodedOutput GetStreamOutputs() []*livekit.StreamOutput GetImageOutputs() []*livekit.ImageOutput }
type EncodedOutputDeprecated ¶ added in v1.6.1
type EncodedOutputDeprecated interface { GetFile() *livekit.EncodedFileOutput GetStream() *livekit.StreamOutput GetSegments() *livekit.SegmentedFileOutput }
type UploadRequest ¶ added in v1.16.0
type UploadRequest interface { GetS3() *livekit.S3Upload GetGcp() *livekit.GCPUpload GetAzure() *livekit.AzureBlobUpload GetAliOSS() *livekit.AliOSSUpload }
Click to show internal directories.
Click to hide internal directories.