Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(FEC-8311): Live with DVR - when seeking back (more then dvrThreshold) the playbackType is not "dvr" #12

Merged
merged 1 commit into from
Jun 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
serviceUrl: '//analytics.kaltura.com/api_v3/index.php',
viewEventCountdown: 10,
resetSessionCountdown: 30,
dvrThreshold: 120000
dvrThreshold: 120
}
```

Expand Down Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion src/kava.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: ''
};
Expand Down