fix: rtmp being unreliable and keep session alive when there are read errors

This commit is contained in:
2026-07-08 14:08:07 +01:00
parent f0a77de6f4
commit 888eace0bf
4 changed files with 78 additions and 24 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ async fn stream_handler(
}
} else if answer.0 == request_id_clone {
return Response::builder()
.status(StatusCode::NOT_FOUND)
.status(StatusCode::UNSUPPORTED_MEDIA_TYPE)
.body(String::new())
.unwrap();
}