debug
This commit is contained in:
parent
e97b9257ae
commit
6378f54389
|
@ -142,6 +142,11 @@ void RTCContext::onProducer(uint32_t msgId, mrtc::MRTCProducerInfo& info)
|
|||
}
|
||||
bool RTCContext::init(const char* selfUserId, const char* selfDisplayName, const char* selfRoomId)
|
||||
{
|
||||
if (!PyArray_API) {
|
||||
std::cout << "PyArray_API is null in init" << std::endl;
|
||||
} else {
|
||||
std::cout << "PyArray_API is not null in init" << std::endl;
|
||||
}
|
||||
mrtc::IMRTCEngineFactory * rtcFactory = mrtc::getMRTCEngineFactory();
|
||||
if (!rtcFactory)
|
||||
{
|
||||
|
@ -192,6 +197,11 @@ bool RTCContext::init(const char* selfUserId, const char* selfDisplayName, const
|
|||
}
|
||||
bool RTCContext::initRecv(const char* destRoomId, const char* srcUserId, const int16_t destChannelIndex)
|
||||
{
|
||||
if (!PyArray_API) {
|
||||
std::cout << "PyArray_API is null in init" << std::endl;
|
||||
} else {
|
||||
std::cout << "PyArray_API is not null in init" << std::endl;
|
||||
}
|
||||
while (!isOnConsumer_)
|
||||
{
|
||||
std::cout << "wait for OnConsumer" << std::endl;
|
||||
|
|
Loading…
Reference in New Issue