improve performance

This commit is contained in:
aler9
2020-11-16 00:08:50 +01:00
parent 8cf24e0a7d
commit c2712da906
8 changed files with 112 additions and 210 deletions

View File

@@ -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.