debug
This commit is contained in:
parent
d63f67dfcd
commit
80a32a100b
|
@ -326,7 +326,7 @@ void RTCContext::onAudioProcess(const char* roomId, const char* peerId,
|
|||
//setData(audioFrame);
|
||||
// 1. 获取GIL
|
||||
//std::cout << "[1] 获取GIL锁..." << std::endl;
|
||||
////PyGILState_STATE gstate = PyGILState_Ensure();
|
||||
PyGILState_STATE gstate = PyGILState_Ensure();
|
||||
|
||||
//try {
|
||||
// // 2. 输入参数校验
|
||||
|
@ -465,7 +465,7 @@ void RTCContext::onAudioProcess(const char* roomId, const char* peerId,
|
|||
// shm_unlink(shm_name);
|
||||
|
||||
// std::cout << "[9] 释放GIL..." << std::endl;
|
||||
// //PyGILState_Release(gstate);
|
||||
PyGILState_Release(gstate);
|
||||
// std::cout << "=== 音频处理完成 ===" << std::endl;
|
||||
|
||||
//} catch (const std::exception& e) {
|
||||
|
|
Loading…
Reference in New Issue