debug
This commit is contained in:
parent
34306dcaca
commit
f8daa9c277
|
@ -107,7 +107,9 @@ void RTCContext::onAudioProcess(const char* roomId, const char* peerId,
|
|||
std::cout << "当前线程是否持有 GIL: " << PyGILState_Check() << std::endl;
|
||||
try {
|
||||
py::object str_repr = py::str(dtype);
|
||||
std::cout << "str_repr" << std::endl;
|
||||
if(str_repr.ptr() != Py_None) {
|
||||
std::cout << "str_repr is not null" << std::endl;
|
||||
std::string dtype_str = py::extract<std::string>(str_repr);
|
||||
std::cout << "数据类型: " << dtype_str << std::endl;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue