From 8e1abcf7787bef797de15e92521fa14df2865c21 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 25 五月 2021 17:10:18 +0800
Subject: [PATCH] get stream with 200ms every times
---
csrc/thirdparty/gb28181/include/PsToEs.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/csrc/thirdparty/gb28181/include/PsToEs.hpp b/csrc/thirdparty/gb28181/include/PsToEs.hpp
index 366db70..21c10d9 100644
--- a/csrc/thirdparty/gb28181/include/PsToEs.hpp
+++ b/csrc/thirdparty/gb28181/include/PsToEs.hpp
@@ -191,7 +191,7 @@
//浠庣紦瀛樹腑鑾峰彇buffinfo
if (_this->m_rtpQueue.count_queue() == 0) {
// printf(" count_queue == 0 \n");
- usleep(10000);
+ usleep(200000);
continue;
}
--
Gitblit v1.8.0