[sip-comm-cvs] CVS update: /sip-communicator/src/net/java/sip/communicator/media/

emcho at dev.java.net emcho at dev.java.net
Tue Jul 19 17:26:25 CEST 2005


User: emcho   
Date: 2005/07/19 08:26:25

Log:
 Bug fix reported by Christian Fritjof

File Changes:

Directory: /sip-communicator/src/net/java/sip/communicator/media/
=================================================================

File [changed]: MediaManager.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/media/MediaManager.java?r1=1.22&r2=1.23
Delta lines:  +9 -4
-------------------
--- MediaManager.java	23 Jan 2005 18:05:19 -0000	1.22
+++ MediaManager.java	19 Jul 2005 15:26:22 -0000	1.23
@@ -342,10 +342,15 @@
             //A hashtable that indicates what addresses are different media types
             //coming from.
             Hashtable remoteTransmisionDetails = new Hashtable();
-            //by default everything is supposed to be coming from the address specified
-            //in the session (global) connection parameter.
+            //by default everything is supposed to be coming from the address
+            //specified in the session (global) connection parameter so store
+            //this address for now.
+            //And only store it if different from null-
+            //bug report and fix there of: Christian Fritjof.
+            if(sessionRemoteAddress != null){
             remoteTransmisionDetails.put("audio", sessionRemoteAddress);
             remoteTransmisionDetails.put("video", sessionRemoteAddress);
+            }
             ArrayList ports = new ArrayList();
             ArrayList formatSets = new ArrayList();
             for (int i = 0; i < mediaDescriptions.size(); i++) {




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator.dev.java.net





More information about the commits mailing list