Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 6c129c5

Browse files
authored
Fix simulcast publication failure (#1047)
1 parent 22745f0 commit 6c129c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/core/rtc_adapter/RtcAdapter.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ RtcAdapterImpl::~RtcAdapterImpl()
115115

116116
void RtcAdapterImpl::initCall()
117117
{
118+
if (m_callPtr) {
119+
return;
120+
}
118121
m_callPtr.reset(new CallPtr());
119122
std::shared_ptr<CallPtr> pCallPtr = m_callPtr;
120123
g_taskQueue->PostTask([pCallPtr]() {

0 commit comments

Comments
 (0)