File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ func NewStream(
5959 logrus .Error (err )
6060 return nil , ""
6161 }
62- process := NewProcess (keepFiles , audio , loggingOpts )
62+ process := NewProcess (keepFiles , audio )
6363 cmd := process .Spawn (path , URI )
6464
6565 // Create nil pointer in case logging is not enabled
Original file line number Diff line number Diff line change @@ -23,9 +23,8 @@ type ProcessLoggingOpts struct {
2323
2424// Process is the main type for creating new processes
2525type Process struct {
26- keepFiles bool
27- audio bool
28- loggingOpts ProcessLoggingOpts
26+ keepFiles bool
27+ audio bool
2928}
3029
3130// Type check
@@ -35,9 +34,8 @@ var _ IProcess = (*Process)(nil)
3534func NewProcess (
3635 keepFiles bool ,
3736 audio bool ,
38- loggingOpts ProcessLoggingOpts ,
3937) * Process {
40- return & Process {keepFiles , audio , loggingOpts }
38+ return & Process {keepFiles , audio }
4139}
4240
4341// getHLSFlags are for getting the flags based on the config context
You can’t perform that action at this time.
0 commit comments