debug
This commit is contained in:
parent
a89b81df0d
commit
650386806f
|
@ -1,5 +1,5 @@
|
||||||
#include "RTCContext.h"
|
#include "RTCContext.h"
|
||||||
//#define GIL
|
#define GIL
|
||||||
|
|
||||||
void RTCContext::onRoom(uint32_t typeId, RTCENGINE_NAMESPACE::MRTCRoomInfo& roomInfo) {
|
void RTCContext::onRoom(uint32_t typeId, RTCENGINE_NAMESPACE::MRTCRoomInfo& roomInfo) {
|
||||||
//std::cout << "RTCContext::onRoom():" << roomInfo.roomId << "," << roomInfo.displayName << "," << roomInfo.userId << "," << roomInfo.message;
|
//std::cout << "RTCContext::onRoom():" << roomInfo.roomId << "," << roomInfo.displayName << "," << roomInfo.userId << "," << roomInfo.message;
|
||||||
|
@ -63,6 +63,7 @@ void RTCContext::onAudioProcess(const char* roomId, const char* peerId,
|
||||||
mrtc::MRTCAudioFrame& audioFrame,
|
mrtc::MRTCAudioFrame& audioFrame,
|
||||||
mrtc::MRTCAudioSourceType audioSourceType)
|
mrtc::MRTCAudioSourceType audioSourceType)
|
||||||
{
|
{
|
||||||
|
std::lock_guard<std::mutex> lock(mutex_);
|
||||||
namespace np = boost::python::numpy;
|
namespace np = boost::python::numpy;
|
||||||
namespace py = boost::python;
|
namespace py = boost::python;
|
||||||
Py_Initialize(); // 初始化 Python
|
Py_Initialize(); // 初始化 Python
|
||||||
|
|
Loading…
Reference in New Issue