Documentation
¶
Index ¶
- Constants
- Variables
- func LogJobCreatedEvent(job *ethTypes.Job, nonce uint64)
- func LogJobReusedEvent(job *ethTypes.Job, startSeq int, nonce uint64)
- func LogSegmentEmerged(nonce, seqNo uint64)
- func LogSegmentTranscodeFailed(ev string, nonce, seqNo uint64, err error)
- func LogSegmentTranscoded(nonce, seqNo uint64, transcodeDur, totalDur time.Duration)
- func LogSegmentUploadFailed(nonce, seqNo uint64, reason string)
- func LogSegmentUploaded(nonce, seqNo uint64, uploadDur time.Duration)
- func LogStartBroadcastClientFailed(nonce uint64, serviceURI, transcoderAddress string, jobID uint64, ...)
- func LogStreamCreateFailed(nonce uint64, reason string)
- func LogStreamCreatedEvent(hlsStrmID string, nonce uint64)
- func LogStreamEndedEvent(nonce uint64)
- func LogStreamStartedEvent(nonce uint64)
- func SegmentUploadStart(nonce, seqNo uint64)
- func SetURL(url string)
- type Monitor
- func (m *Monitor) GetPeerCount() int
- func (m *Monitor) LogBroadcaster(strmID string)
- func (m *Monitor) LogBuffer(strmID string)
- func (m *Monitor) LogNewConn(local, remote string)
- func (m *Monitor) LogRelay(strmID, remote string)
- func (m *Monitor) LogStream(strmID string, size uint, avgChunkSize uint)
- func (m *Monitor) LogSub(strmID string)
- func (m *Monitor) RemoveBroadcast(strmID string)
- func (m *Monitor) RemoveConn(local, remote string)
- func (m *Monitor) RemoveRelay(strmID string)
- func (m *Monitor) RemoveStream(strmID string)
- func (m *Monitor) RemoveSub(strmID string)
- func (m *Monitor) SetBootNode()
- func (m *Monitor) StartWorker(ctx context.Context)
Constants ¶
View Source
const PostFreq = time.Second * 10
Variables ¶
View Source
var Enabled bool
View Source
var Endpoint string
Functions ¶
func LogJobCreatedEvent ¶ added in v0.3.3
func LogJobReusedEvent ¶ added in v0.3.3
func LogSegmentEmerged ¶ added in v0.3.3
func LogSegmentEmerged(nonce, seqNo uint64)
func LogSegmentTranscodeFailed ¶ added in v0.3.3
func LogSegmentTranscoded ¶ added in v0.3.3
func LogSegmentUploadFailed ¶ added in v0.3.3
func LogSegmentUploaded ¶ added in v0.3.3
func LogStartBroadcastClientFailed ¶ added in v0.3.3
func LogStreamCreateFailed ¶ added in v0.3.3
func LogStreamCreatedEvent ¶ added in v0.3.3
func LogStreamEndedEvent ¶ added in v0.3.3
func LogStreamEndedEvent(nonce uint64)
func LogStreamStartedEvent ¶ added in v0.3.3
func LogStreamStartedEvent(nonce uint64)
func SegmentUploadStart ¶ added in v0.3.3
func SegmentUploadStart(nonce, seqNo uint64)
Types ¶
type Monitor ¶
func (*Monitor) GetPeerCount ¶
func (*Monitor) LogBroadcaster ¶
func (*Monitor) LogNewConn ¶
func (*Monitor) RemoveBroadcast ¶
func (*Monitor) RemoveConn ¶
func (*Monitor) RemoveRelay ¶
func (*Monitor) RemoveStream ¶
func (*Monitor) SetBootNode ¶
func (m *Monitor) SetBootNode()
func (*Monitor) StartWorker ¶
Click to show internal directories.
Click to hide internal directories.