mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
remove leftover variable from capture manager.
This commit is contained in:
parent
550084e195
commit
4debddf27d
@ -13,9 +13,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type CaptureManagerCtx struct {
|
type CaptureManagerCtx struct {
|
||||||
logger zerolog.Logger
|
logger zerolog.Logger
|
||||||
desktop types.DesktopManager
|
desktop types.DesktopManager
|
||||||
streaming bool
|
|
||||||
broadcast *BroacastManagerCtx
|
broadcast *BroacastManagerCtx
|
||||||
screencast *ScreencastManagerCtx
|
screencast *ScreencastManagerCtx
|
||||||
audio *StreamManagerCtx
|
audio *StreamManagerCtx
|
||||||
@ -92,9 +92,9 @@ func New(desktop types.DesktopManager, config *config.Capture) *CaptureManagerCt
|
|||||||
}
|
}
|
||||||
|
|
||||||
return &CaptureManagerCtx{
|
return &CaptureManagerCtx{
|
||||||
logger: logger,
|
logger: logger,
|
||||||
desktop: desktop,
|
desktop: desktop,
|
||||||
streaming: false,
|
|
||||||
broadcast: broadcastNew(broadcastPipeline),
|
broadcast: broadcastNew(broadcastPipeline),
|
||||||
screencast: screencastNew(config.ScreencastEnabled, screencastPipeline),
|
screencast: screencastNew(config.ScreencastEnabled, screencastPipeline),
|
||||||
audio: streamNew(config.AudioCodec, func() string {
|
audio: streamNew(config.AudioCodec, func() string {
|
||||||
|
Loading…
Reference in New Issue
Block a user