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:
paulc 2009-09-16 11:06:17 +00:00
parent a42b498823
commit e2e5c65b70
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}