debug
This commit is contained in:
parent
bbac7269cd
commit
a2f2082f54
|
@ -118,8 +118,15 @@ int main()
|
|||
LOG_DEBUG << "RTCContext init failed";
|
||||
return -1;
|
||||
}
|
||||
if (!RTCContext::instance().initSend(destRoomId, destChannelIndex)) {
|
||||
if (!RTCContext::instance().initSend(srcRoomId, destRoomId, destChannelIndex, 1)) {
|
||||
LOG_DEBUG << "RTCContext initSend failed";
|
||||
return -1;
|
||||
}
|
||||
|
||||
app().getLoop()->loop();
|
||||
app().setLogLevel(trantor::Logger::kDebug);
|
||||
app().run();
|
||||
LOG_INFO << "bye!";
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue