Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetricViewerCount health.MetricName = "ViewerCount" MetricMediaTimeMillis health.MetricName = "MediaTimeMillis" MetricMultistreamMediaTimeMillis health.MetricName = "MultistreamMediaTimeMillis" MetricMultistreamActiveSec health.MetricName = "MultistreamActiveSec" MetricMultistreamBytes health.MetricName = "MultistreamBytes" MetricMultistreamBitrateSec health.MetricName = "MultistreamBitrateSec" )
View Source
const ( ConditionTranscoding health.ConditionType = "Transcoding" ConditionTranscodeRealTime health.ConditionType = "TranscodeRealTime" ConditionTranscodeNoErrors health.ConditionType = "TranscodeNoErrors" MetricTranscodeRealtimeRatio health.MetricName = "TranscodeRealtimeRatio" )
View Source
const (
ConditionMultistreaming health.ConditionType = "Multistreaming"
)
Variables ¶
View Source
var HealthReducer = health.ReducerFunc(reduceHealth)
Functions ¶
func DefaultStarTimeOffset ¶ added in v0.3.0
func StatsReducer ¶
func StatsReducer(statsWindows []time.Duration) health.ReducerFunc
Types ¶
type MediaServerMetrics ¶ added in v0.3.0
type MediaServerMetrics struct{}
func (MediaServerMetrics) Bindings ¶ added in v0.3.0
func (t MediaServerMetrics) Bindings() []event.BindingArgs
func (MediaServerMetrics) Conditions ¶ added in v0.3.0
func (t MediaServerMetrics) Conditions() []health.ConditionType
type MultistreamReducer ¶ added in v0.2.0
type MultistreamReducer struct{}
func (MultistreamReducer) Bindings ¶ added in v0.2.0
func (t MultistreamReducer) Bindings() []event.BindingArgs
func (MultistreamReducer) Conditions ¶ added in v0.2.0
func (t MultistreamReducer) Conditions() []health.ConditionType
type Pipeline ¶ added in v0.3.0
func (Pipeline) Bindings ¶ added in v0.3.0
func (p Pipeline) Bindings() []event.BindingArgs
func (Pipeline) Conditions ¶ added in v0.3.0
func (p Pipeline) Conditions() []health.ConditionType
type TranscodeReducer ¶
func (TranscodeReducer) Bindings ¶
func (t TranscodeReducer) Bindings() []event.BindingArgs
func (TranscodeReducer) Conditions ¶
func (t TranscodeReducer) Conditions() []health.ConditionType
Click to show internal directories.
Click to hide internal directories.