mirror of
https://github.com/Monibuca/plugin-rtsp.git
synced 2025-09-27 03:56:08 +08:00
增加配置项ReadBufferSize
This commit is contained in:
@@ -151,7 +151,7 @@ func (client *RTSPClient) pullStream() {
|
||||
f(append(clone, payload...))
|
||||
}
|
||||
},
|
||||
ReadBufferSize: 10000,
|
||||
ReadBufferSize: config.ReadBufferSize,
|
||||
Transport: &client.Transport,
|
||||
}
|
||||
// parse URL
|
||||
|
Reference in New Issue
Block a user