Documentation
¶
Index ¶
Constants ¶
View Source
const (
// BufferSize is the size of the content buffer we will use.
BufferSize = 1024 * 8
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FFMPEG ¶
type FFMPEG struct {
// contains filtered or unexported fields
}
FFMPEG is a transport that uses FFMPEG to process the video stream.
func (FFMPEG) MarshalJSON ¶
MarshalJSON returns the string type of transport.
type HTTP ¶
type HTTP struct {
// contains filtered or unexported fields
}
HTTP is a transport that simply "restreams" the video from the source with a small buffer.
func (HTTP) MarshalJSON ¶
MarshalJSON returns the string type of transport.
type Stream ¶
type Stream struct { UUID string Channel *models.LineupChannel StreamURL string Transport StreamTransport StartTime *time.Time PromLabels []string StopNow chan bool `json:"-"` LastWroteAt *time.Time // contains filtered or unexported fields }
Stream describes a single active video stream in telly.
Click to show internal directories.
Click to hide internal directories.