mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
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:
@ -116,8 +116,10 @@ public class JinglePlugin implements Plugin, Phone {
|
|||||||
|
|
||||||
jingleManager = new JingleManager(SparkManager.getConnection(), transportManager, new JmfMediaManager(locator));
|
jingleManager = new JingleManager(SparkManager.getConnection(), transportManager, new JmfMediaManager(locator));
|
||||||
|
|
||||||
if (transportManager instanceof BridgedTransportManager || transportManager instanceof ICETransportManager) {
|
if (transportManager instanceof BridgedTransportManager) {
|
||||||
jingleManager.addCreationListener((BridgedTransportManager)transportManager);
|
jingleManager.addCreationListener((BridgedTransportManager)transportManager);
|
||||||
|
}else if(transportManager instanceof ICETransportManager){
|
||||||
|
jingleManager.addCreationListener((ICETransportManager)transportManager);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add Jingle to discovered items list.
|
// Add Jingle to discovered items list.
|
||||||
|
|||||||
Reference in New Issue
Block a user