GitHub user mike-jumper opened a pull request:
https://github.com/apache/incubator-guacamole-client/pull/146
GUACAMOLE-250: Add guacamole-common-js support for in-browser playback of
recordings.
This change adds a new `Guacamole.SessionRecording` object to
guacamole-common-js which can be used to play back recordings of Guacamole
sessions directly (without requiring that they be translated into video using
the guacenc utility). `Guacamole.SessionRecording` is similar in interface to
`Guacamole.Client` except that it is read-only and provides support for pausing
and seeking within the stream.
Transfer of data is started by calling `connect()` and aborted by calling
`disconnect()`. Playback of received frames is initially paused, but can be
started by calling `play()` and paused again by calling `pause()`. Current
playback position can be changed by calling `seek()`.
As frames are received over the tunnel, an `onprogress` event is fired.
Current playback position is reported through the `onseek` event, and
start/stop of playback is reported through `onplay` and `onpause` respectively.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mike-jumper/incubator-guacamole-client
recording-playback
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-guacamole-client/pull/146.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #146
----
commit 052bb9b36b4db84fdcb0eeb6f81ce34b8e1cb64b
Author: Michael Jumper <[email protected]>
Date: 2017-04-13T06:59:42Z
GUACAMOLE-250: Implement Guacamole.SessionRecording having basic play/pause
support.
commit 9d5e1111a674ba0df66e6839488b1c5a261230f0
Author: Michael Jumper <[email protected]>
Date: 2017-04-15T23:04:12Z
GUACAMOLE-250: Automatically store keyframes while recordings are being
played.
commit 1fcb5f2d197e47478621b298dbab661708c958a6
Author: Michael Jumper <[email protected]>
Date: 2017-04-15T23:29:12Z
GUACAMOLE-250: Fix backward seeking - must retreat potentially all the way
to frame 0 in search of an absolute state.
commit 4f9469d901a5f845c5d22827c28369f31c84a8eb
Author: Michael Jumper <[email protected]>
Date: 2017-04-16T00:11:32Z
GUACAMOLE-250: Add support for seeking within session recordings.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---