Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
Type string `json:"type"`
Timestamp_ int64 `json:"timestamp"`
ManifestID_ string `json:"manifestId"`
}
func (*Base) ManifestID ¶
type Event ¶
func ParseEvent ¶
type OrchestratorMetadata ¶
type SegmentMetadata ¶
type TranscodeAttemptInfo ¶
type TranscodeAttemptInfo struct {
Orchestrator OrchestratorMetadata `json:"orchestrator"`
LatencyMs int64 `json:"latencyMs"`
Error *string `json:"error"`
}
type TranscodeEvent ¶
type TranscodeEvent struct {
Base
NodeID string `json:"nodeId"`
Segment SegmentMetadata `json:"segment"`
StartTime int64 `json:"startTime"`
LatencyMs int64 `json:"latencyMs"`
Success bool `json:"success"`
Attempts []TranscodeAttemptInfo `json:"attempts"`
}
func NewTranscodeEvent ¶
func NewTranscodeEvent(nodeID, mid string, seg SegmentMetadata, startTime time.Time, success bool, attempts []TranscodeAttemptInfo) *TranscodeEvent
Click to show internal directories.
Click to hide internal directories.