debug
This commit is contained in:
parent
6fd9455d3f
commit
05fa5fc274
|
@ -42,7 +42,9 @@ void RTCContext::onAudioProcess(const char* roomId, const char* peerId,
|
|||
namespace py = boost::python;
|
||||
std::cout << "-----------------------------------" << std::endl;
|
||||
std::cout << "dataCount:" << audioFrame.dataCount << audioSourceType << std::endl;
|
||||
if (!py_callback_.is_none()) {
|
||||
if (audioFrame.data == nullptr) {
|
||||
std::cout << "sudioFrame data is null" << std::endl;
|
||||
} else if (!py_callback_.is_none()) {
|
||||
std::cout << "python callback" << std::endl;
|
||||
npy_intp dims[1] = {audioFrame.dataCount};
|
||||
std::cout << "step1" << std::endl;
|
||||
|
|
Loading…
Reference in New Issue