- format video stream name into <meetingid>-<userid>-<timestamp> so that we can easily

identify and parse the video recordings
This commit is contained in:
Richard Alam 2011-03-15 15:36:32 -04:00
parent 52817279a2
commit ab2f359a53
2 changed files with 9 additions and 4 deletions

View File

@ -88,7 +88,7 @@
private function openPublishWindow():void{
publishWindow = new PublishWindow();
publishWindow.streamName = module.userid.toString();
publishWindow.streamName = "-" + module.userid.toString();
publishWindow.userrole = module.role;
publishWindow.quality = module.quality;

View File

@ -33,6 +33,7 @@
<mx:Script>
<![CDATA[
import org.bigbluebutton.common.LogUtil;
import flexlib.mdi.events.MDIWindowEvent;
import mx.core.UIComponent;
@ -63,8 +64,7 @@
if (isPresenter()) showResControls(true);
if (Camera.names.length > 1) showVideoControls(true);
if (!isPresenter() && Camera.names.length == 1) startPublishing();
maximizeRestoreBtn.visible = false;
maximizeRestoreBtn.visible = false;
}
public function getPrefferedPosition():String{
@ -122,7 +122,12 @@
camHeight = 480;
camWidth = 640;
}
this.streamName = cmbResolution.selectedLabel.concat(this.streamName);
/**
* Add timestamp to create a unique stream name. This way we can record
* stream without overwriting previously recorded streams.
*/
var curTime:Number = new Date().getTime();
this.streamName = cmbResolution.selectedLabel.concat(this.streamName) + "-" + curTime;
}
public function set userrole(role:String):void{