Fixed bug: always look for transport candidates in session accept.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5359 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
173bd0aff3
commit
0db06d7034
|
@ -2188,13 +2188,9 @@ void YJGConnection::processActionAccept(JGEvent* event)
|
|||
if (mediaChanged && c == m_audioContent)
|
||||
resetEp("audio");
|
||||
// Update transport(s)
|
||||
// Force changed for Version0 (we have valid common media)
|
||||
bool changed = (m_sessVersion == JGSession::Version0);
|
||||
if (changed) {
|
||||
changed = updateCandidate(1,*c,*recv);
|
||||
changed = updateCandidate(2,*c,*recv) || changed;
|
||||
}
|
||||
if (changed && !m_audioContent)
|
||||
bool changed = updateCandidate(1,*c,*recv);
|
||||
changed = updateCandidate(2,*c,*recv) || changed;
|
||||
if (!m_audioContent || (changed && c == m_audioContent))
|
||||
resetCurrentAudioContent(true,false,true,c);
|
||||
}
|
||||
if (!m_audioContent)
|
||||
|
|
Loading…
Reference in New Issue