Explicitely join all reflector components to the RTPGroup.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2843 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
a42b498823
commit
e2e5c65b70
|
@ -993,7 +993,6 @@ YRTPReflector::YRTPReflector(const String& id, bool passiveA, bool passiveB)
|
|||
DDebug(&splugin,DebugInfo,"YRTPReflector::YRTPReflector('%s') [%p]",id.c_str(),this);
|
||||
m_group = new RTPGroup(s_sleep,s_priority);
|
||||
m_rtpA = new RTPTransport;
|
||||
m_group->join(m_rtpA);
|
||||
m_rtpB = new RTPTransport;
|
||||
m_rtpA->setProcessor(m_rtpB);
|
||||
m_rtpB->setProcessor(m_rtpA);
|
||||
|
@ -1001,6 +1000,8 @@ YRTPReflector::YRTPReflector(const String& id, bool passiveA, bool passiveB)
|
|||
m_rtpA->setMonitor(m_monA);
|
||||
m_monB = new YRTPMonitor(passiveB ? 0 : &m_idB);
|
||||
m_rtpB->setMonitor(m_monB);
|
||||
m_group->join(m_rtpA);
|
||||
m_group->join(m_rtpB);
|
||||
m_group->join(m_monA);
|
||||
m_group->join(m_monB);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue