diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/videoconf/maps/VideoEventMap.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/videoconf/maps/VideoEventMap.mxml index 5d2a809edd..d805a7d0f6 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/videoconf/maps/VideoEventMap.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/videoconf/maps/VideoEventMap.mxml @@ -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; diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/videoconf/views/PublishWindow.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/videoconf/views/PublishWindow.mxml index fae4153677..60c24931a5 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/videoconf/views/PublishWindow.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/videoconf/views/PublishWindow.mxml @@ -33,6 +33,7 @@ 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{