remove stats from rtmp and rtsp source

This commit is contained in:
aler9
2021-08-18 15:43:56 +02:00
parent 60823aa2b6
commit ca499a27c3
3 changed files with 0 additions and 8 deletions

View File

@@ -36,7 +36,6 @@ type rtspSource struct {
readBufferCount int
readBufferSize int
wg *sync.WaitGroup
stats *stats
parent rtspSourceParent
ctx context.Context
@@ -54,7 +53,6 @@ func newRTSPSource(
readBufferCount int,
readBufferSize int,
wg *sync.WaitGroup,
stats *stats,
parent rtspSourceParent) *rtspSource {
ctx, ctxCancel := context.WithCancel(parentCtx)
@@ -68,7 +66,6 @@ func newRTSPSource(
readBufferCount: readBufferCount,
readBufferSize: readBufferSize,
wg: wg,
stats: stats,
parent: parent,
ctx: ctx,
ctxCancel: ctxCancel,