Changeset 48

Show
Ignore:
Timestamp:
05/06/08 09:44:27 (4 months ago)
Author:
sip
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mcuWeb/src/java/org/murillo/mcuWeb/MCUHttpServlet.java

    r33 r48  
    6464       try { 
    6565            //Set mm 
    66             confMngr.addMixer("Ubuntu Box","http://192.168.1.5:8080/mcu","192.168.1.5"); 
    67             confMngr.addMixer("Debian Box","http://192.168.195.128:8080/mcu","192.168.195.128"); 
     66            confMngr.addMixer("Ubuntu Box","http://127.0.0.1:8080/mcu","127.0.0.1"); 
    6867        } catch (MalformedURLException ex) { 
    6968            //Print error 
     
    116115            String profileId = request.getParameter("profileId"); 
    117116            Integer compType = Integer.parseInt(request.getParameter("compType")); 
    118             //Call 
    119             Conference conf = createConference(name,did,mixerId,compType,profileId); 
     117            Integer size = Integer.parseInt(request.getParameter("size")); 
     118            //Call 
     119            Conference conf = createConference(name,did,mixerId,size,compType,profileId); 
    120120            //Redirect 
    121121            response.sendRedirect("/mcuWeb/conference.jsp?uid=" + conf.getUID()); 
     
    268268    } 
    269269     
    270     private Conference createConference(String name, String did, String mixerId, Integer compType,String profileId) { 
     270    private Conference createConference(String name, String did, String mixerId, Integer size, Integer compType,String profileId) { 
    271271        //Create conference 
    272         return confMngr.createConference(name,did,mixerId,profileId); 
     272        return confMngr.createConference(name,did,mixerId,size,compType,profileId); 
    273273    } 
    274274 
Copyright 2006 - Sergio García Murillo
Powered by Trac - Edgewall Software