remove leftover variable from capture manager.

This commit is contained in:
Miroslav Šedivý 2021-09-30 20:03:30 +02:00
parent 550084e195
commit 4debddf27d

View File

@ -13,9 +13,9 @@ import (
)
type CaptureManagerCtx struct {
logger zerolog.Logger
desktop types.DesktopManager
streaming bool
logger zerolog.Logger
desktop types.DesktopManager
broadcast *BroacastManagerCtx
screencast *ScreencastManagerCtx
audio *StreamManagerCtx
@ -92,9 +92,9 @@ func New(desktop types.DesktopManager, config *config.Capture) *CaptureManagerCt
}
return &CaptureManagerCtx{
logger: logger,
desktop: desktop,
streaming: false,
logger: logger,
desktop: desktop,
broadcast: broadcastNew(broadcastPipeline),
screencast: screencastNew(config.ScreencastEnabled, screencastPipeline),
audio: streamNew(config.AudioCodec, func() string {