This commit is contained in:
wangjiyu 2025-04-11 09:04:08 +08:00
parent 4c50a1b4b7
commit 13853cb1e3
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ void RTCContext::onAudioProcess(const char* roomId, const char* peerId,
try {
// 增加引用计数防止提前释放
Py_INCREF(pyCallback_.ptr());
std::cout << " py incr" << std::endl;
std::cout << " py incr, callback ptr" << pyCallback_ << std::endl;
// 传递共享内存信息
pyCallback_(
py::str(shm_name), // 共享内存名称