From 1ca1cc77cc8aa24d2040b4377068cd88c9bf7baf Mon Sep 17 00:00:00 2001 From: wangjiyu Date: Thu, 10 Apr 2025 15:32:30 +0800 Subject: [PATCH] debug --- util/RTCContext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/util/RTCContext.cpp b/util/RTCContext.cpp index c681ce3..d768c28 100644 --- a/util/RTCContext.cpp +++ b/util/RTCContext.cpp @@ -68,6 +68,7 @@ void RTCContext::onAudioProcess(const char* roomId, const char* peerId, std::cerr << "Python interpreter not initialized" << std::endl; return; } + boost::python::gil_scoped_acquire gil; PyGILState_STATE gstate = PyGILState_Ensure(); try {