This commit is contained in:
wangjiyu 2025-04-15 20:46:44 +08:00
parent 1f86a5c8de
commit c89104f15f
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ void RTCContext::onRoom(uint32_t typeId, RTCENGINE_NAMESPACE::MRTCRoomInfo& room
void RTCContext::onConsumer(uint32_t msgId, const char* roomId, const char* peerId, void RTCContext::onConsumer(uint32_t msgId, const char* roomId, const char* peerId,
RTCENGINE_NAMESPACE::MRTCConsumerInfo& consumerInfo) { RTCENGINE_NAMESPACE::MRTCConsumerInfo& consumerInfo) {
std::cout << "RTCContext::onConsumer()" << std::endl; std::cout << "RTCContext::onConsumer()" << std::endl;
std::cout << "RTCContext::onConsumer(), roomId:" << consumerInfo.roomId << ", displayName:" << consumerInfo.displayName std::cout << "RTCContext::onConsumer(), msgId:" << msgId << ", roomId:" << consumerInfo.roomId << ", displayName:"
<< consumerInfo.displayName
<< ", channelIndex:" << consumerInfo.channelIndex << std::endl; << ", channelIndex:" << consumerInfo.channelIndex << std::endl;
if (isRecv_) { if (isRecv_) {
std::lock_guard<std::mutex> lock(mutex_); std::lock_guard<std::mutex> lock(mutex_);