shaka-player 4.12.1 → 4.12.2
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/.eslintrc.js +1 -0
- package/AUTHORS +1 -0
- package/CONTRIBUTORS +1 -0
- package/dist/locales.js +35 -35
- package/dist/shaka-player.compiled.d.ts +7 -7
- package/dist/shaka-player.compiled.debug.d.ts +7 -7
- package/dist/shaka-player.compiled.debug.js +142 -140
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.js +1253 -1253
- package/dist/shaka-player.compiled.map +2 -2
- package/dist/shaka-player.ui.d.ts +7 -7
- package/dist/shaka-player.ui.debug.d.ts +7 -7
- package/dist/shaka-player.ui.debug.js +130 -128
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.js +1459 -1459
- package/dist/shaka-player.ui.map +2 -2
- package/externs/shaka/abortable.js +36 -36
- package/lib/ads/interstitial_ad_manager.js +2 -0
- package/lib/hls/hls_parser.js +1 -1
- package/lib/media/drm_engine.js +2 -0
- package/lib/media/media_source_engine.js +61 -3
- package/lib/media/preload_manager.js +6 -1
- package/lib/media/segment_reference.js +1 -1
- package/lib/media/streaming_engine.js +9 -11
- package/lib/player.js +1 -1
- package/lib/polyfill/media_capabilities.js +46 -8
- package/lib/text/vtt_text_parser.js +2 -8
- package/lib/util/abortable_operation.js +8 -6
- package/lib/util/platform.js +18 -7
- package/package.json +2 -2
- package/ui/chapter_selection.js +6 -2
|
@@ -4644,6 +4644,13 @@ declare namespace shaka.extern {
|
|
|
4644
4644
|
* whereas aborting only means that further work is stopped.
|
|
4645
4645
|
*/
|
|
4646
4646
|
interface IAbortableOperation < T > {
|
|
4647
|
+
/**
|
|
4648
|
+
* A Promise which represents the underlying operation. It is resolved when
|
|
4649
|
+
* the operation is complete, and rejected if the operation fails or is
|
|
4650
|
+
* aborted. Aborted operations should be rejected with a shaka.util.Error
|
|
4651
|
+
* object using the error code OPERATION_ABORTED.
|
|
4652
|
+
*/
|
|
4653
|
+
promise : Promise < T > ;
|
|
4647
4654
|
/**
|
|
4648
4655
|
* Can be called by anyone holding this object to abort the underlying
|
|
4649
4656
|
* operation. This is not cancelation, and will not necessarily result in
|
|
@@ -4653,13 +4660,6 @@ declare namespace shaka.extern {
|
|
|
4653
4660
|
*/
|
|
4654
4661
|
abort ( ) : Promise < any > ;
|
|
4655
4662
|
finally (onFinal : (a : boolean ) => any ) : shaka.extern.IAbortableOperation < T > ;
|
|
4656
|
-
/**
|
|
4657
|
-
* A Promise which represents the underlying operation. It is resolved when
|
|
4658
|
-
* the operation is complete, and rejected if the operation fails or is
|
|
4659
|
-
* aborted. Aborted operations should be rejected with a shaka.util.Error
|
|
4660
|
-
* object using the error code OPERATION_ABORTED.
|
|
4661
|
-
*/
|
|
4662
|
-
promise : Promise < T > ;
|
|
4663
4663
|
}
|
|
4664
4664
|
}
|
|
4665
4665
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
|
|
@@ -4644,6 +4644,13 @@ declare namespace shaka.extern {
|
|
|
4644
4644
|
* whereas aborting only means that further work is stopped.
|
|
4645
4645
|
*/
|
|
4646
4646
|
interface IAbortableOperation < T > {
|
|
4647
|
+
/**
|
|
4648
|
+
* A Promise which represents the underlying operation. It is resolved when
|
|
4649
|
+
* the operation is complete, and rejected if the operation fails or is
|
|
4650
|
+
* aborted. Aborted operations should be rejected with a shaka.util.Error
|
|
4651
|
+
* object using the error code OPERATION_ABORTED.
|
|
4652
|
+
*/
|
|
4653
|
+
promise : Promise < T > ;
|
|
4647
4654
|
/**
|
|
4648
4655
|
* Can be called by anyone holding this object to abort the underlying
|
|
4649
4656
|
* operation. This is not cancelation, and will not necessarily result in
|
|
@@ -4653,13 +4660,6 @@ declare namespace shaka.extern {
|
|
|
4653
4660
|
*/
|
|
4654
4661
|
abort ( ) : Promise < any > ;
|
|
4655
4662
|
finally (onFinal : (a : boolean ) => any ) : shaka.extern.IAbortableOperation < T > ;
|
|
4656
|
-
/**
|
|
4657
|
-
* A Promise which represents the underlying operation. It is resolved when
|
|
4658
|
-
* the operation is complete, and rejected if the operation fails or is
|
|
4659
|
-
* aborted. Aborted operations should be rejected with a shaka.util.Error
|
|
4660
|
-
* object using the error code OPERATION_ABORTED.
|
|
4661
|
-
*/
|
|
4662
|
-
promise : Promise < T > ;
|
|
4663
4663
|
}
|
|
4664
4664
|
}
|
|
4665
4665
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
|