transcode

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2021 License: MIT Imports: 15 Imported by: 0

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

func (ByLoad) Len

func (l ByLoad) Len() int

func (ByLoad) Less

func (l ByLoad) Less(i, j int) bool

func (ByLoad) Swap

func (l ByLoad) Swap(i, j int)

type Transcoder

type Transcoder struct {
	// contains filtered or unexported fields
}

func New

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL