- bringing status messages for deskshare standalone into master

This commit is contained in:
Richard Alam 2013-02-01 20:09:39 +00:00
parent dcecac18f9
commit 09a7b9e109
3 changed files with 5 additions and 6 deletions

Binary file not shown.

View File

@ -55,7 +55,7 @@ package org.bigbluebutton.modules.deskshare.services
trace("Deskshare Service connecting to " + uri);
conn = new Connection(room);
conn.setURI(uri + "/" + room);
conn.setURI(uri);
conn.connect();
}

View File

@ -242,13 +242,13 @@ package org.bigbluebutton.modules.deskshare.services.red5
* This method is useful for clients which have joined a room where somebody is already publishing
*
*/
private function checkIfStreamIsPublishing():void{
private function checkIfStreamIsPublishing(room: String):void{
trace("checking if desk share stream is publishing");
var event:ConnectionEvent = new ConnectionEvent();
event.status = ConnectionEvent.CHECK_FOR_DESKSHARE_STREAM;
dispatcher.dispatchEvent(event);
nc.call("deskshare.checkIfStreamIsPublishing", responder);
nc.call("deskshare.checkIfStreamIsPublishing", responder, room);
}
public function disconnect():void{
@ -257,13 +257,12 @@ package org.bigbluebutton.modules.deskshare.services.red5
public function connectionSuccessHandler():void{
trace("Successully connection to " + uri);
// var deskSOName:String = room + "-deskSO";
var deskSOName:String = "deskSO";
var deskSOName:String = room + "-deskSO";
deskSO = SharedObject.getRemote(deskSOName, uri, false);
deskSO.client = this;
deskSO.connect(nc);
checkIfStreamIsPublishing();
checkIfStreamIsPublishing(room);
}
public function getConnection():NetConnection{