@eluvio/elv-player-js 1.0.129 → 1.0.130

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-player-js",
3
- "version": "1.0.129",
3
+ "version": "1.0.130",
4
4
  "description": "![Eluvio Logo](src/static/images/Logo.png \"Eluvio Logo\")",
5
5
  "main": "src/index.js",
6
6
  "license": "MIT",
package/src/index.js CHANGED
@@ -22,6 +22,7 @@ export const EluvioPlayerParameters = {
22
22
  playerProfile: {
23
23
  DEFAULT: "default",
24
24
  LOW_LATENCY: "low_latency",
25
+ ULTRA_LOW_LATENCY: "ultra_low_latency",
25
26
  CUSTOM: "custom"
26
27
  },
27
28
  drms: {
@@ -147,6 +148,20 @@ const PlayerProfiles = {
147
148
  label: "Low Latency",
148
149
  hlsSettings: Utils.LiveHLSJSSettings({lowLatency: true})
149
150
  },
151
+ ultra_low_latency: {
152
+ label: "Ultra Low Latency",
153
+ hlsSettings: {
154
+ "capLevelToPlayerSize": false,
155
+ "enableWorker": true,
156
+ "lowLatencyMode": true,
157
+ "maxBufferLength": 4,
158
+ "backBufferLength": 4,
159
+ "liveSyncDuration": 4,
160
+ "liveMaxLatencyDuration": 5,
161
+ "liveDurationInfinity": false,
162
+ "highBufferWatchdogPeriod": 1
163
+ }
164
+ },
150
165
  custom: {
151
166
  label: "Custom",
152
167
  hlsSettings: {}