You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by co...@google.com on 2013/02/18 11:34:51 UTC
[red5phone] r90 committed - startRoomClient trigger is removed
Revision: 90
Author: solomax666@gmail.com
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) {