delete comments
This commit is contained in:
parent
f152134f20
commit
c778aab917
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -24,23 +24,11 @@ public:
|
|||
const unsigned short port = 34443;
|
||||
#else
|
||||
const char* appid = "1357413779192676352";
|
||||
const char* appSecrectKey = "q04ex8bivag3mn8ncf504t5lw4asldbc1k2rfbhoy54u7lsqqkmkzp33x0h4d9ww9z3f1deiel34m191lj4k5dc7utidom9s1izg88jhouv1bwy62q372ly9dmd63g4u";
|
||||
const char* domain = "dorytest.migu.cn";
|
||||
const unsigned short port = 34443;
|
||||
const char* appSecrectKey = "q04ex8bivag3mn8ncf504t5lw4asldbc1k2rfbhoy54u7lsqqkmkzp33x0h4d9ww9z3f1deiel34m191lj4k5dc7utidom9s1izg88jhouv1bwy62q372ly9dmd63g4u";
|
||||
const char* domain = "dorytest.migu.cn";
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue