@theolive/player
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -6,3 +6,3 @@ { | ||
"types": "./types/THEOLive.d.ts", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "The official THEOlive video player.", | ||
@@ -9,0 +9,0 @@ "author": "THEO Technologies", |
@@ -115,2 +115,6 @@ import { Event } from "./Event"; | ||
/** | ||
* The abr configuration. | ||
*/ | ||
abr?: AbrConfiguration; | ||
/** | ||
* The pre-roll ad configuration. | ||
@@ -120,2 +124,15 @@ */ | ||
} | ||
export interface AbrConfiguration { | ||
/** | ||
* The strategy for selecting the initial quality to play. Possible values are: | ||
* | ||
* - `bandwidth`: This is the default value and uses a historic value based on previous playback sessions. | ||
* - `quality`: This strategy starts on the highest quality. | ||
* - `performance`: This strategy starts on the lowest quality. | ||
*/ | ||
strategy?: AbrStrategy; | ||
} | ||
export interface AbrStrategy { | ||
readonly type: 'bandwidth' | 'quality' | 'performance'; | ||
} | ||
export interface AdsConfiguration { | ||
@@ -122,0 +139,0 @@ /** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7930408
29286