Documentation ¶
Index ¶
- func CreateSinks(p *config.PipelineConfig, callbacks *gstreamer.Callbacks, ...) (map[types.EgressType][]Sink, error)
- type FileSink
- type Image
- type ImageManifest
- type ImageSink
- type Manifest
- type SegmentSink
- func (s *SegmentSink) Cleanup()
- func (s *SegmentSink) Close() error
- func (s *SegmentSink) FragmentClosed(filepath string, endTime uint64) error
- func (s *SegmentSink) FragmentOpened(filepath string, startTime uint64) error
- func (s *SegmentSink) Start() error
- func (s *SegmentSink) UpdateStartDate(t time.Time)
- type SegmentUpdate
- type Sink
- type WebsocketSink
- func (s *WebsocketSink) Cleanup()
- func (s *WebsocketSink) Close() error
- func (s *WebsocketSink) OnTrackMuted(_ string)
- func (s *WebsocketSink) OnTrackUnmuted(_ string, _ time.Duration)
- func (s *WebsocketSink) SinkCallbacks() *app.SinkCallbacks
- func (s *WebsocketSink) Start() error
- func (s *WebsocketSink) Write(p []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSinks ¶ added in v1.5.6
func CreateSinks(p *config.PipelineConfig, callbacks *gstreamer.Callbacks, monitor *stats.HandlerMonitor) (map[types.EgressType][]Sink, error)
Types ¶
type FileSink ¶ added in v1.5.6
type FileSink struct { uploader.Uploader *config.FileConfig // contains filtered or unexported fields }
type ImageManifest ¶ added in v1.7.13
type ImageSink ¶ added in v1.7.13
type ImageSink struct { uploader.Uploader *config.ImageConfig // contains filtered or unexported fields }
type Manifest ¶ added in v1.7.1
type Manifest struct { EgressID string `json:"egress_id,omitempty"` RoomID string `json:"room_id,omitempty"` RoomName string `json:"room_name,omitempty"` Url string `json:"url,omitempty"` StartedAt int64 `json:"started_at,omitempty"` EndedAt int64 `json:"ended_at,omitempty"` PublisherIdentity string `json:"publisher_identity,omitempty"` TrackID string `json:"track_id,omitempty"` TrackKind string `json:"track_kind,omitempty"` TrackSource string `json:"track_source,omitempty"` AudioTrackID string `json:"audio_track_id,omitempty"` VideoTrackID string `json:"video_track_id,omitempty"` SegmentCount int64 `json:"segment_count,omitempty"` }
type SegmentSink ¶ added in v1.5.6
type SegmentSink struct { uploader.Uploader *config.SegmentConfig // contains filtered or unexported fields }
func (*SegmentSink) Cleanup ¶ added in v1.5.6
func (s *SegmentSink) Cleanup()
func (*SegmentSink) Close ¶ added in v1.7.10
func (s *SegmentSink) Close() error
func (*SegmentSink) FragmentClosed ¶ added in v1.7.12
func (s *SegmentSink) FragmentClosed(filepath string, endTime uint64) error
func (*SegmentSink) FragmentOpened ¶ added in v1.7.12
func (s *SegmentSink) FragmentOpened(filepath string, startTime uint64) error
func (*SegmentSink) Start ¶ added in v1.5.6
func (s *SegmentSink) Start() 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) OnTrackMuted ¶ added in v1.5.6
func (s *WebsocketSink) OnTrackMuted(_ string)
func (*WebsocketSink) OnTrackUnmuted ¶ added in v1.7.8
func (s *WebsocketSink) OnTrackUnmuted(_ string, _ time.Duration)
func (*WebsocketSink) SinkCallbacks ¶ added in v1.7.8
func (s *WebsocketSink) SinkCallbacks() *app.SinkCallbacks
func (*WebsocketSink) Start ¶ added in v1.5.6
func (s *WebsocketSink) Start() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.