mirror of
https://github.com/aler9/gortsplib
synced 2025-10-12 02:20:19 +08:00
improve performance
This commit is contained in:
@@ -80,12 +80,12 @@ type ConnClient struct {
|
||||
tcpFrameBuffer *multibuffer.MultiBuffer
|
||||
getParameterSupported bool
|
||||
backgroundError error
|
||||
writeFrameMutex sync.RWMutex
|
||||
writeFrameOpen bool
|
||||
readCB func(int, StreamType, []byte, error)
|
||||
|
||||
backgroundTerminate chan struct{}
|
||||
backgroundDone chan struct{}
|
||||
readFrame chan base.InterleavedFrame
|
||||
writeFrameMutex sync.RWMutex
|
||||
writeFrameOpen bool
|
||||
}
|
||||
|
||||
// Close closes all the ConnClient resources.
|
||||
|
Reference in New Issue
Block a user