From 1727e711d68ff806de748759e4b7b344071f08b5 Mon Sep 17 00:00:00 2001 From: jenny zhu Date: Wed, 27 Dec 2023 18:34:41 +0800 Subject: [PATCH] add more number of requested memzone segments to set memzone_max manually for 1K IP camera sessions Signed-off-by: jenny zhu --- media-proxy/src/proxy_context.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/media-proxy/src/proxy_context.cc b/media-proxy/src/proxy_context.cc index bb7af2dc..35deff42 100644 --- a/media-proxy/src/proxy_context.cc +++ b/media-proxy/src/proxy_context.cc @@ -42,6 +42,7 @@ try : mRpcCtrlAddr(rpc_addr), mTcpCtrlAddr(tcp_addr), mSessionCount(0) { } mTcpCtrlPort = std::stoi(sub_str[1]); + schs_ready = false; } catch (...) { } @@ -200,6 +201,7 @@ void ProxyContext::ParseStInitParam(const mcm_conn_param* request, struct mtl_in st_param->rx_queues_cnt[MTL_PORT_P] = 32; st_param->tx_queues_cnt[MTL_PORT_P] = 32; st_param->lcores = NULL; + st_param->memzone_max = 3000; INFO("ProxyContext: ParseStInitParam..."); INFO("num_ports : %d", st_param->num_ports);