debug
This commit is contained in:
parent
aa3e6e2bbb
commit
4fbc35689a
|
@ -9,6 +9,7 @@ void RTCContext::onRoom(uint32_t typeId, RTCENGINE_NAMESPACE::MRTCRoomInfo& room
|
|||
}
|
||||
void RTCContext::onConsumer(uint32_t msgId, const char* roomId, const char* peerId,
|
||||
RTCENGINE_NAMESPACE::MRTCConsumerInfo& consumerInfo) {
|
||||
std::cout << "RTCContext::onConsumer()" << std::endl;
|
||||
std::cout << "RTCContext::onConsumer():" << consumerInfo.roomId << "," << consumerInfo.displayName << ","
|
||||
<< consumerInfo.channelIndex << std::endl;
|
||||
if (isRecv_) {
|
||||
|
@ -37,6 +38,7 @@ void RTCContext::onRender(const char* roomId, const char* peerId,
|
|||
std::cout << "RTCContext::onRender()" << std::endl;
|
||||
}
|
||||
void RTCContext::onCallBackMessage(uint32_t msgId, const char* msg) {
|
||||
std::cout << "onCallBackMessage():" << msgId << std::endl;
|
||||
|
||||
std::lock_guard<std::mutex> lock(mutex_);
|
||||
if (msgId == (uint32_t)mrtc::JOIN_MULTI_ROOM_SUCCESS) {
|
||||
|
|
Loading…
Reference in New Issue