mirror of
https://github.com/v0l/zap-stream-core.git
synced 2025-06-19 04:44:58 +00:00
Recorder fixes
This commit is contained in:
@ -26,7 +26,7 @@ pub async fn listen(path: PathBuf, builder: PipelineBuilder) -> Result<(), anyho
|
||||
});
|
||||
|
||||
if let Ok(mut stream) = tokio::fs::File::open(path).await {
|
||||
let mut buf = [0u8; 1500];
|
||||
let mut buf = [0u8; 4096];
|
||||
loop {
|
||||
if let Ok(r) = stream.read(&mut buf).await {
|
||||
if r > 0 {
|
||||
|
Reference in New Issue
Block a user