| ARRIS Enterprises, Inc. Confidential Information |
TimeshiftKreaTV supports recording the video stream the end-user is currently viewing, allowing them to pause and rewind. The process is a little bit different depending on whether you are using an ARRIS-approved storage device or not. ARRIS-approved storage devices, such as the DVR-One hard disk unit, are already prepared for Timeshift usage. Non ARRIS-approved devices will need to be prepared before use. See the section on DVR and Timeshift support for more information on preparing devices. This tutorial assumes you are using a DVR-One unit. Subscribing to eventsSince KreaTV supports hot plugging and disconnecting devices at any time, the example portal subscribes to the <sdk_root>/examples/example-html-portal/timeshift.js
When the capabilities of the current stream change, the portal checks to see the status of the <sdk_root>/examples/example-html-portal/timeshift.js
On detecting that the stream capabilities have changed, and that timeshift is possible, the example portal waits a few seconds and then starts timeshift recording. This delay is there to prevent starting/stopping timeshift when the end-user zaps through several channels quickly, which can impact performance. If you want to poll at any time to see if timeshift is supported, call the When timeshift begins, another Starting timeshiftAfter the short delay has expired, the function below is executed: <sdk_root>/examples/example-html-portal/timeshift.js
It gets the maximum permitted length for the timeshift buffer (may depend on whether the license file is included or not) and calls The example portal does not explicitly stop timeshift buffering, since recordings are always circular. When zapping channels, timeshifting will be automatically stopped by the KreaTV platform. More information and options for controlling timeshift behavior are available through the |