shaka-player 4.9.12 → 4.9.14
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.
- package/dist/deps.js +9 -9
- package/dist/locales.js +35 -35
- package/dist/shaka-player.compiled.d.ts +2 -2
- package/dist/shaka-player.compiled.debug.d.ts +2 -2
- package/dist/shaka-player.compiled.debug.externs.js +1 -1
- package/dist/shaka-player.compiled.debug.js +131 -131
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +1 -1
- package/dist/shaka-player.compiled.js +1130 -1124
- package/dist/shaka-player.compiled.map +4 -4
- package/dist/shaka-player.ui.d.ts +2 -2
- package/dist/shaka-player.ui.debug.d.ts +2 -2
- package/dist/shaka-player.ui.debug.externs.js +1 -1
- package/dist/shaka-player.ui.debug.js +157 -156
- package/dist/shaka-player.ui.debug.map +4 -4
- package/dist/shaka-player.ui.externs.js +1 -1
- package/dist/shaka-player.ui.js +1334 -1329
- package/dist/shaka-player.ui.map +4 -4
- package/externs/shaka/player.js +7 -1
- package/lib/abr/simple_abr_manager.js +11 -8
- package/lib/hls/hls_parser.js +7 -6
- package/lib/media/drm_engine.js +9 -197
- package/lib/player.js +20 -12
- package/lib/polyfill/media_capabilities.js +4 -4
- package/lib/polyfill/patchedmediakeys_apple.js +3 -3
- package/lib/polyfill/patchedmediakeys_webkit.js +3 -3
- package/lib/text/simple_text_displayer.js +3 -0
- package/lib/text/ssa_text_parser.js +22 -7
- package/lib/text/text_utils.js +17 -1
- package/lib/text/ttml_text_parser.js +5 -3
- package/lib/text/ui_text_displayer.js +6 -1
- package/lib/util/config_utils.js +5 -0
- package/lib/util/drm_utils.js +191 -0
- package/lib/util/periods.js +4 -4
- package/lib/util/player_configuration.js +1 -0
- package/lib/util/ts_parser.js +4 -4
- package/package.json +1 -1
- package/ui/locales/fr.json +1 -1
- package/ui/statistics_button.js +10 -3
|
@@ -4224,7 +4224,7 @@ declare namespace shaka.util {
|
|
|
4224
4224
|
*/
|
|
4225
4225
|
getStartTime (contentType : string ) : number | null ;
|
|
4226
4226
|
/**
|
|
4227
|
-
* Return the
|
|
4227
|
+
* Return the video data
|
|
4228
4228
|
*/
|
|
4229
4229
|
getVideoData (naluProcessing ? : boolean ) : shaka.extern.MPEG_PES [] ;
|
|
4230
4230
|
/**
|
|
@@ -5068,7 +5068,7 @@ declare namespace shaka.extern {
|
|
|
5068
5068
|
}
|
|
5069
5069
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5070
5070
|
declare namespace shaka.extern {
|
|
5071
|
-
type AbrConfiguration = { advanced : shaka.extern.AdvancedAbrConfiguration , bandwidthDowngradeTarget : number , bandwidthUpgradeTarget : number , cacheLoadThreshold : number , clearBufferSwitch : boolean , defaultBandwidthEstimate : number , enabled : boolean , ignoreDevicePixelRatio : boolean , restrictToElementSize : boolean , restrictToScreenSize : boolean , restrictions : shaka.extern.Restrictions , safeMarginSwitch : number , switchInterval : number , useNetworkInformation : boolean } ;
|
|
5071
|
+
type AbrConfiguration = { advanced : shaka.extern.AdvancedAbrConfiguration , bandwidthDowngradeTarget : number , bandwidthUpgradeTarget : number , cacheLoadThreshold : number , clearBufferSwitch : boolean , defaultBandwidthEstimate : number , enabled : boolean , ignoreDevicePixelRatio : boolean , minTimeToSwitch : number , restrictToElementSize : boolean , restrictToScreenSize : boolean , restrictions : shaka.extern.Restrictions , safeMarginSwitch : number , switchInterval : number , useNetworkInformation : boolean } ;
|
|
5072
5072
|
}
|
|
5073
5073
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5074
5074
|
declare namespace shaka.extern {
|
|
@@ -4224,7 +4224,7 @@ declare namespace shaka.util {
|
|
|
4224
4224
|
*/
|
|
4225
4225
|
getStartTime (contentType : string ) : number | null ;
|
|
4226
4226
|
/**
|
|
4227
|
-
* Return the
|
|
4227
|
+
* Return the video data
|
|
4228
4228
|
*/
|
|
4229
4229
|
getVideoData (naluProcessing ? : boolean ) : shaka.extern.MPEG_PES [] ;
|
|
4230
4230
|
/**
|
|
@@ -5068,7 +5068,7 @@ declare namespace shaka.extern {
|
|
|
5068
5068
|
}
|
|
5069
5069
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5070
5070
|
declare namespace shaka.extern {
|
|
5071
|
-
type AbrConfiguration = { advanced : shaka.extern.AdvancedAbrConfiguration , bandwidthDowngradeTarget : number , bandwidthUpgradeTarget : number , cacheLoadThreshold : number , clearBufferSwitch : boolean , defaultBandwidthEstimate : number , enabled : boolean , ignoreDevicePixelRatio : boolean , restrictToElementSize : boolean , restrictToScreenSize : boolean , restrictions : shaka.extern.Restrictions , safeMarginSwitch : number , switchInterval : number , useNetworkInformation : boolean } ;
|
|
5071
|
+
type AbrConfiguration = { advanced : shaka.extern.AdvancedAbrConfiguration , bandwidthDowngradeTarget : number , bandwidthUpgradeTarget : number , cacheLoadThreshold : number , clearBufferSwitch : boolean , defaultBandwidthEstimate : number , enabled : boolean , ignoreDevicePixelRatio : boolean , minTimeToSwitch : number , restrictToElementSize : boolean , restrictToScreenSize : boolean , restrictions : shaka.extern.Restrictions , safeMarginSwitch : number , switchInterval : number , useNetworkInformation : boolean } ;
|
|
5072
5072
|
}
|
|
5073
5073
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5074
5074
|
declare namespace shaka.extern {
|