Revision: 90
Author: [email protected]
Date: Mon Feb 18 02:34:27 2013
Log: startRoomClient trigger is removed
http://code.google.com/p/red5phone/source/detail?r=90
Modified:
/branches/red5sip/src/java/org/red5/sip/app/Application.java
=======================================
--- /branches/red5sip/src/java/org/red5/sip/app/Application.java Mon Feb 18
02:17:44 2013
+++ /branches/red5sip/src/java/org/red5/sip/app/Application.java Mon Feb 18
02:34:27 2013
@@ -21,7 +21,6 @@
private Properties props = null;
private Map<Integer, SIPTransport> transportMap = new HashMap<Integer,
SIPTransport>();
private RTMPControlClient rtmpControlClient;
- boolean startRoomClient = true;
private SIPTransport createSIPTransport(Properties prop, int room_id) {
log.info("Creating SIP trasport for room: " + room_id);
@@ -35,10 +34,7 @@
public void onUaRegistrationSuccess(SIPRegisterAgent ra,
NameAddress target, NameAddress contact, String result) {
log.info("Registered successfully");
this.roomClient.setSipNumberListener(this);
- if (Application.this.startRoomClient) {
- this.roomClient.start();
- Application.this.startRoomClient = false;
- }
+ this.roomClient.start();
}
public void onUaRegistrationFailure(SIPRegisterAgent ra,
NameAddress target, NameAddress contact, String result) {