fix linter errors.

This commit is contained in:
Miroslav Šedivý 2021-02-14 14:23:33 +01:00
parent c9b2c93fb8
commit 732764991b
2 changed files with 0 additions and 4 deletions

View File

@ -2,7 +2,6 @@ package capture
import ( import (
"fmt" "fmt"
"sync"
"math" "math"
"github.com/rs/zerolog" "github.com/rs/zerolog"
@ -15,7 +14,6 @@ import (
type CaptureManagerCtx struct { type CaptureManagerCtx struct {
logger zerolog.Logger logger zerolog.Logger
mu sync.Mutex
desktop types.DesktopManager desktop types.DesktopManager
streaming bool streaming bool
broadcast *BroacastManagerCtx broadcast *BroacastManagerCtx

View File

@ -12,7 +12,6 @@ import (
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
"demodesk/neko/internal/types" "demodesk/neko/internal/types"
"demodesk/neko/internal/types/codec"
"demodesk/neko/internal/types/event" "demodesk/neko/internal/types/event"
"demodesk/neko/internal/types/message" "demodesk/neko/internal/types/message"
"demodesk/neko/internal/config" "demodesk/neko/internal/config"
@ -33,7 +32,6 @@ func New(desktop types.DesktopManager, capture types.CaptureManager, config *con
type WebRTCManagerCtx struct { type WebRTCManagerCtx struct {
logger zerolog.Logger logger zerolog.Logger
audioTrack *webrtc.TrackLocalStaticSample audioTrack *webrtc.TrackLocalStaticSample
audioCodec codec.RTPCodec
audioStop func() audioStop func()
desktop types.DesktopManager desktop types.DesktopManager
capture types.CaptureManager capture types.CaptureManager