From 7ee951c2a5c3e26a20a1eef0c1eef697fdb4c0eb Mon Sep 17 00:00:00 2001 From: wangjiyu Date: Thu, 10 Apr 2025 10:08:38 +0800 Subject: [PATCH] debug --- rtc_plugins.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rtc_plugins.cpp b/rtc_plugins.cpp index cab8994..e618489 100644 --- a/rtc_plugins.cpp +++ b/rtc_plugins.cpp @@ -105,6 +105,7 @@ int sendCustomAudioData(const int16_t destChannelIndex, py::object pD, int32_t s } BOOST_PYTHON_MODULE(rtc_plugins) { + import_array(); py::def("init", &init); py::def("initRecv", &initRecv); py::def("initSend", &initSend);