From 1edd90f9697a15a83b3a7ecc02704ae61a6d516e Mon Sep 17 00:00:00 2001 From: Dan Ziv Date: Wed, 13 Jun 2018 14:18:35 +0300 Subject: [PATCH] FEC-8311 --- docs/configuration.md | 6 +++--- src/kava.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 0a09ac84..ea05941c 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -23,7 +23,7 @@ serviceUrl: '//analytics.kaltura.com/api_v3/index.php', viewEventCountdown: 10, resetSessionCountdown: 30, - dvrThreshold: 120000 + dvrThreshold: 120 } ``` @@ -63,9 +63,9 @@ > > ##### Type: `number` > -> ##### Default: `120000` +> ##### Default: `120` > -> ##### Description: Threshold in milliseconds from the live edge. +> ##### Description: Threshold in seconds from the live edge. > > When player's playback position from the live edge <= then dvrThreshold, Kava will set playbackType to dvr. Otherwise it will be live. diff --git a/src/kava.js b/src/kava.js index 395cdf35..18bdeb75 100644 --- a/src/kava.js +++ b/src/kava.js @@ -36,7 +36,7 @@ export default class Kava extends BasePlugin { serviceUrl: '//analytics.kaltura.com/api_v3/index.php', viewEventCountdown: 10, resetSessionCountdown: 30, - dvrThreshold: 120000, + dvrThreshold: 120, playbackContext: '', applicationVersion: '' };