mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
scope config variables.
This commit is contained in:
@ -62,7 +62,7 @@ func New(desktop types.DesktopManager, config *config.Capture) *CaptureManagerCt
|
||||
desktop: desktop,
|
||||
streaming: false,
|
||||
broadcast: broadcastNew(broadcastPipeline),
|
||||
screencast: screencastNew(config.Screencast, screencastPipeline),
|
||||
screencast: screencastNew(config.ScreencastEnabled, screencastPipeline),
|
||||
audio: streamNew(config.AudioCodec, func() string {
|
||||
if config.AudioPipeline != "" {
|
||||
return config.AudioPipeline
|
||||
|
Reference in New Issue
Block a user