Documentation
¶
Overview ¶
Code generated; DO NOT EDIT.
Index ¶
Constants ¶
View Source
const Version_UTO6LDG = true
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngressReporter ¶
type IngressReporter interface {
RegisterFunc(func(ts time.Time, tx IngressTx) bool)
Tx(func(tx IngressTx))
TxAt(time.Time, func(tx IngressTx))
WithSession(id string) SessionReporter
WithDeferredSession() (SessionReporter, KeyResolver)
IngressTx
}
func NewNoopIngressReporter ¶
func NewNoopIngressReporter() IngressReporter
type KeyResolver ¶
type KeyResolver interface {
Resolve(string)
Reset()
}
type ProjectReporter ¶
type ProjectReporter interface {
RegisterFunc(func(ts time.Time, tx ProjectTx) bool)
Tx(func(tx ProjectTx))
TxAt(time.Time, func(tx ProjectTx))
WithIngress(id string) IngressReporter
WithDeferredIngress() (IngressReporter, KeyResolver)
ProjectTx
}
func NewNoopProjectReporter ¶
func NewNoopProjectReporter() ProjectReporter
type Reporter ¶
type Reporter interface {
WithProject(id string) ProjectReporter
WithDeferredProject() (ProjectReporter, KeyResolver)
}
func NewNoopReporter ¶
func NewNoopReporter() Reporter
type SessionInputType ¶
type SessionInputType string
const ( SessionInputTypeUndefined SessionInputType = "" SessionInputTypeRtmp SessionInputType = "rtmp" SessionInputTypeWhip SessionInputType = "whip" SessionInputTypeURL SessionInputType = "url" )
type SessionReporter ¶
type SessionReporter interface {
RegisterFunc(func(ts time.Time, tx SessionTx) bool)
Tx(func(tx SessionTx))
TxAt(time.Time, func(tx SessionTx))
SessionTx
}
func NewNoopSessionReporter ¶
func NewNoopSessionReporter() SessionReporter
type SessionStatus ¶
type SessionStatus string
const ( SessionStatusUndefined SessionStatus = "" SessionStatusInactive SessionStatus = "inactive" SessionStatusBuffering SessionStatus = "buffering" SessionStatusPublishing SessionStatus = "publishing" SessionStatusError SessionStatus = "error" SessionStatusComplete SessionStatus = "complete" )
type SessionTx ¶
type SessionTx interface {
ReportStartTime(v time.Time)
ReportEndTime(v time.Time)
ReportDuration(v uint64)
ReportInputType(v SessionInputType)
ReportRegion(v string)
ReportRoomName(v string)
ReportRoomID(v string)
ReportError(v string)
ReportStatus(v SessionStatus)
ReportAudioOnly(v bool)
ReportTranscoded(v bool)
ReportReusable(v bool)
}
Click to show internal directories.
Click to hide internal directories.