mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-05 07:36:57 +08:00
remove stats from rtmp and rtsp source
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user