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

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