Documentation
¶
Index ¶
Constants ¶
View Source
const FRAMENUMBER = 5
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Source ¶
type Source struct {
Url string `json:"url"`
// Run ffmpeg -formats to get all supported format, default to 'image2'
Format string `json:"format"`
// Check https://www.ffmpeg.org/general.html#Video-Codecs, default to 'mjpeg'
Codec string `json:"codec"`
// contains filtered or unexported fields
}
func (*Source) Pull ¶
func (s *Source) Pull(ctx api.StreamContext, trigger time.Time, ingest api.BytesIngest, ingestError api.ErrorIngest)
Click to show internal directories.
Click to hide internal directories.