Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByLoad ¶
type ByLoad []*TranscoderStatus
ByLoad implements sort.Interface for transcoders based on job load
type Transcoder ¶
type Transcoder struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, conf config.TranscodeConfig, api client.ServiceAPI, name string) *Transcoder
func (*Transcoder) Wait ¶
func (t *Transcoder) Wait()
type TranscoderStatus ¶
type TranscoderStatus struct { Name string `json:"name"` Capacity int `json:"capacity"` Streams []string `json:"streams"` }
TranscoderStatus represents the transcoder state as announced via etcd
Click to show internal directories.
Click to hide internal directories.