- bringing status messages for deskshare standalone into master
This commit is contained in:
parent
dcecac18f9
commit
09a7b9e109
BIN
bigbluebutton-client/resources/prod/bbb-deskshare-applet-0.8.1.jar
Normal file → Executable file
BIN
bigbluebutton-client/resources/prod/bbb-deskshare-applet-0.8.1.jar
Normal file → Executable file
Binary file not shown.
@ -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();
|
||||
|
||||
}
|
||||
|
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user