delete comments

This commit is contained in:
wangjiyu 2025-04-09 16:21:01 +08:00
parent f152134f20
commit c778aab917
2 changed files with 3 additions and 34 deletions

View File

@ -76,17 +76,6 @@ bool RTCContext::init(const char* selfUserId, const char* selfDisplayName, const
LOG_DEBUG << "RTCContext::instance().init() failed";
return false;
}
/*
#ifdef SEND_MODE
if (0 != rtcEngine_->setUserInfo(srcUserId, srcDisplayName, srcRoomId))
#else
if (0 != rtcEngine_->setUserInfo(destUserId, destDisplayName, destRoomId))
#endif
{
LOG_DEBUG << "RTCContext::instance().setUserInfo() failed";
return false;
}
*/
if (0 != rtcEngine_->setUserInfo(selfUserId, selfDisplayName, selfRoomId))
{

View File

@ -29,18 +29,6 @@ public:
const unsigned short port = 34443;
#endif
/*
const char* srcUserId = "srcUser1";
const char* destUserId = "destUser1";
const char* srcDisplayName = "srcDisplayName1";
const char* destDisplayName = "destDisplayName1";
const char* srcRoomId = "srcRoom1";
const char* destRoomId = "destRoomId1";
const int16_t srcChannelIndex = 42;
const int16_t destChannelIndex = 43;
*/
static RTCContext& instance()
{
static RTCContext instance;
@ -64,14 +52,6 @@ public:
private:
RTCContext()
{
/*
init();
#ifdef SEND_MODE
initSend();
#else
initRecv();
#endif
*/
}
mutable std::mutex mutex_;
mrtc::IMRTCEngine * rtcEngine_ = nullptr;