Documentation
¶
Index ¶
- func CopyRedactedIngressInfo(info *livekit.IngressInfo) *livekit.IngressInfo
- func InitLogger(conf *config.Config, info *livekit.IngressInfo, ...) error
- func UpdateTranscodingEnabled(info *livekit.IngressInfo)
- type Params
- func (p *Params) CopyInfo() *livekit.IngressInfo
- func (p *Params) GetLogger() logger.Logger
- func (p *Params) SendStateUpdate(ctx context.Context)
- func (p *Params) SetExtraParams(ep any)
- func (p *Params) SetInputAudioState(ctx context.Context, audioState *livekit.InputAudioState, ...)
- func (p *Params) SetInputAudioStats(st *ipc.TrackStats)
- func (p *Params) SetInputVideoState(ctx context.Context, videoState *livekit.InputVideoState, ...)
- func (p *Params) SetInputVideoStats(st *ipc.TrackStats)
- func (p *Params) SetRoomId(roomId string)
- func (p *Params) SetStatus(status livekit.IngressState_Status, err error)
- type WhipExtraParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyRedactedIngressInfo ¶ added in v1.1.0
func CopyRedactedIngressInfo(info *livekit.IngressInfo) *livekit.IngressInfo
func InitLogger ¶ added in v1.1.0
func UpdateTranscodingEnabled ¶ added in v1.4.1
func UpdateTranscodingEnabled(info *livekit.IngressInfo)
Types ¶
type Params ¶
type Params struct {
*livekit.IngressInfo
*config.Config
AudioEncodingOptions *livekit.IngressAudioEncodingOptions
VideoEncodingOptions *livekit.IngressVideoEncodingOptions
// connection info
WsUrl string
Token string
// extra logging fields
LoggingFields map[string]string
// relay info
RelayUrl string
RelayToken string
TmpDir string
// Input type specific private parameters
ExtraParams any
// contains filtered or unexported fields
}
func (*Params) CopyInfo ¶
func (p *Params) CopyInfo() *livekit.IngressInfo
func (*Params) SendStateUpdate ¶
func (*Params) SetExtraParams ¶ added in v1.1.0
Useful in some paths where the extanded params are not known at creation time
func (*Params) SetInputAudioState ¶
func (*Params) SetInputAudioStats ¶ added in v1.3.0
func (p *Params) SetInputAudioStats(st *ipc.TrackStats)
func (*Params) SetInputVideoState ¶
func (*Params) SetInputVideoStats ¶ added in v1.3.0
func (p *Params) SetInputVideoStats(st *ipc.TrackStats)
type WhipExtraParams ¶
type WhipExtraParams struct {
MimeTypes map[types.StreamKind]string `json:"mime_types"`
}
Click to show internal directories.
Click to hide internal directories.