Documentation ¶
Index ¶
- Constants
- func CreateSinks(p *config.PipelineConfig) (map[types.EgressType]Sink, error)
- type FileSink
- type SegmentSink
- func (s *SegmentSink) Cleanup()
- func (s *SegmentSink) EnqueueSegmentUpload(segmentPath string, endTime int64) error
- func (s *SegmentSink) Finalize() error
- func (s *SegmentSink) SetOnFailure(f func(error))
- func (s *SegmentSink) Start() error
- func (s *SegmentSink) StartSegment(filepath string, startTime int64) error
- func (s *SegmentSink) UpdateStartDate(t time.Time)
- type SegmentUpdate
- type Sink
- type WebsocketSink
Constants ¶
View Source
const ( WebsocketActive websocketState = "active" WebsocketClosed websocketState = "closed" )
Variables ¶
This section is empty.
Functions ¶
func CreateSinks ¶ added in v1.5.6
func CreateSinks(p *config.PipelineConfig) (map[types.EgressType]Sink, error)
Types ¶
type FileSink ¶ added in v1.5.6
type FileSink struct { uploader.Uploader *config.OutputConfig // contains filtered or unexported fields }
type SegmentSink ¶ added in v1.5.6
type SegmentSink struct { uploader.Uploader *config.OutputConfig // contains filtered or unexported fields }
func (*SegmentSink) Cleanup ¶ added in v1.5.6
func (s *SegmentSink) Cleanup()
func (*SegmentSink) EnqueueSegmentUpload ¶ added in v1.5.6
func (s *SegmentSink) EnqueueSegmentUpload(segmentPath string, endTime int64) error
func (*SegmentSink) Finalize ¶ added in v1.5.6
func (s *SegmentSink) Finalize() error
func (*SegmentSink) SetOnFailure ¶ added in v1.5.6
func (s *SegmentSink) SetOnFailure(f func(error))
func (*SegmentSink) Start ¶ added in v1.5.6
func (s *SegmentSink) Start() error
func (*SegmentSink) StartSegment ¶ added in v1.5.6
func (s *SegmentSink) StartSegment(filepath string, startTime int64) error
func (*SegmentSink) UpdateStartDate ¶ added in v1.5.6
func (s *SegmentSink) UpdateStartDate(t time.Time)
type SegmentUpdate ¶ added in v1.5.6
type SegmentUpdate struct {
// contains filtered or unexported fields
}
type WebsocketSink ¶ added in v1.5.6
type WebsocketSink struct {
// contains filtered or unexported fields
}
func (*WebsocketSink) Cleanup ¶ added in v1.5.6
func (s *WebsocketSink) Cleanup()
func (*WebsocketSink) Close ¶ added in v1.5.6
func (s *WebsocketSink) Close() error
func (*WebsocketSink) Finalize ¶ added in v1.5.6
func (s *WebsocketSink) Finalize() error
func (*WebsocketSink) OnTrackMuted ¶ added in v1.5.6
func (s *WebsocketSink) OnTrackMuted(muted bool)
func (*WebsocketSink) Start ¶ added in v1.5.6
func (s *WebsocketSink) Start() error
Click to show internal directories.
Click to hide internal directories.