mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1803: Default to 1000 millisecond refresh interval.
This commit is contained in:
@@ -96,14 +96,6 @@ angular.module('player').directive('guacPlayer', ['$injector', function guacPlay
|
||||
config.controller = ['$scope', '$element', '$injector',
|
||||
function guacPlayerController($scope) {
|
||||
|
||||
/**
|
||||
* The minimum number of milliseconds that should occur between updates
|
||||
* to the progress indicator.
|
||||
*
|
||||
* @type {number}
|
||||
*/
|
||||
const PROGRESS_REFRESH_INTERVAL = 1000;
|
||||
|
||||
/**
|
||||
* Guacamole.SessionRecording instance to be used to playback the
|
||||
* session recording given via $scope.src. If the recording has not
|
||||
@@ -311,8 +303,7 @@ angular.module('player').directive('guacPlayer', ['$injector', function guacPlay
|
||||
// Otherwise, begin loading the provided recording
|
||||
else {
|
||||
|
||||
$scope.recording = new Guacamole.SessionRecording(
|
||||
src, PROGRESS_REFRESH_INTERVAL);
|
||||
$scope.recording = new Guacamole.SessionRecording(src);
|
||||
|
||||
// Begin downloading the recording
|
||||
$scope.recording.connect();
|
||||
|
Reference in New Issue
Block a user