Documentation
¶
Index ¶
- func CopyRedactedIngressInfo(info *livekit.IngressInfo) *livekit.IngressInfo
- func InitLogger(conf *config.Config, info *livekit.IngressInfo) error
- type Params
- func (p *Params) CopyInfo() *livekit.IngressInfo
- func (p *Params) SendStateUpdate(ctx context.Context)
- func (p *Params) SetExtraParams(ep any)
- func (p *Params) SetInputAudioBitrate(averageBps uint32, currentBps uint32)
- func (p *Params) SetInputAudioState(ctx context.Context, audioState *livekit.InputAudioState, ...)
- func (p *Params) SetInputVideoBitrate(averageBps uint32, currentBps uint32)
- func (p *Params) SetInputVideoState(ctx context.Context, videoState *livekit.InputVideoState, ...)
- func (p *Params) SetRoomId(roomId string)
- func (p *Params) SetStatus(status livekit.IngressState_Status, errString string)
- 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 InitLogger(conf *config.Config, info *livekit.IngressInfo) error
Types ¶
type Params ¶
type Params struct {
*livekit.IngressInfo
*config.Config
AudioEncodingOptions *livekit.IngressAudioEncodingOptions
VideoEncodingOptions *livekit.IngressVideoEncodingOptions
// connection info
WsUrl string
Token string
// relay info
RelayUrl 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) SetInputAudioBitrate ¶ added in v1.1.0
func (*Params) SetInputAudioState ¶
func (*Params) SetInputVideoBitrate ¶ added in v1.1.0
func (*Params) SetInputVideoState ¶
type WhipExtraParams ¶
type WhipExtraParams struct {
MimeTypes map[types.StreamKind]string `json:"mime_types"`
}
Click to show internal directories.
Click to hide internal directories.