GUACAMOLE-1803: Default to 1000 millisecond refresh interval.

This commit is contained in:
James Muehlner
2023-06-13 19:58:10 +00:00
parent 55eabaee55
commit e4d6fe1012
2 changed files with 6 additions and 10 deletions

View File

@@ -37,9 +37,14 @@ var Guacamole = Guacamole || {};
* position through the provided onseek() callback. If non-positive, this
* parameter will be ignored, and the recording position will only be
* updated when seek requests are made, or when new frames are rendered.
* If not specified, refreshInterval will default to 1000 milliseconds.
*/
Guacamole.SessionRecording = function SessionRecording(source, refreshInterval) {
// Default the refresh interval to 1 second if not specified otherwise
if (refreshInterval === undefined)
refreshInterval = 1000;
/**
* Reference to this Guacamole.SessionRecording.
*