Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
Process is the main type for creating new processes
func NewProcess ¶
func NewProcess( keepFiles bool, audio bool, loggingOpts config.ProcessLogging, ) *Process
NewProcess creates a new process able to spawn transcoding FFMPEG processes
type Stream ¶
type Stream struct { ID string `json:"id"` Path string `json:"path"` Running bool `json:"running"` CMD *exec.Cmd `json:"-"` Process IProcess `json:"-"` Mux *sync.Mutex `json:"-"` Streak *hotstreak.Hotstreak `json:"-"` OriginalURI string `json:"-"` StorePath string `json:"-"` KeepFiles bool `json:"-"` LoggingOpts *config.ProcessLogging `json:"-"` Logger *lumberjack.Logger `json:"-"` WaitTimeOut time.Duration `json:"-"` }
Stream describes a given host's streaming
func NewStream ¶
func NewStream( URI string, storingDirectory string, keepFiles bool, audio bool, loggingOpts config.ProcessLogging, waitTimeOut time.Duration, ) (*Stream, string)
NewStream creates a new transcoding process for ffmpeg
Click to show internal directories.
Click to hide internal directories.