Small Fixes in Bridge Listeners

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7829 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo
2007-03-30 18:42:43 +00:00
committed by thiago
parent e0140fb647
commit 9bccb09288

View File

@ -116,8 +116,10 @@ public class JinglePlugin implements Plugin, Phone {
jingleManager = new JingleManager(SparkManager.getConnection(), transportManager, new JmfMediaManager(locator));
if (transportManager instanceof BridgedTransportManager || transportManager instanceof ICETransportManager) {
if (transportManager instanceof BridgedTransportManager) {
jingleManager.addCreationListener((BridgedTransportManager)transportManager);
}else if(transportManager instanceof ICETransportManager){
jingleManager.addCreationListener((ICETransportManager)transportManager);
}
// Add Jingle to discovered items list.