shaka-player 4.7.4 → 4.7.6
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/locales.js +31 -31
- package/dist/shaka-player.compiled.d.ts +7 -0
- package/dist/shaka-player.compiled.debug.d.ts +7 -0
- package/dist/shaka-player.compiled.debug.externs.js +4 -0
- package/dist/shaka-player.compiled.debug.js +117 -114
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +4 -0
- package/dist/shaka-player.compiled.js +1032 -1030
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +7 -0
- package/dist/shaka-player.ui.debug.d.ts +7 -0
- package/dist/shaka-player.ui.debug.externs.js +4 -0
- package/dist/shaka-player.ui.debug.js +140 -138
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +4 -0
- package/dist/shaka-player.ui.js +1202 -1200
- package/dist/shaka-player.ui.map +3 -3
- package/externs/shaka/abr_manager.js +9 -0
- package/lib/abr/simple_abr_manager.js +11 -0
- package/lib/cast/cast_proxy.js +18 -0
- package/lib/hls/hls_utils.js +5 -5
- package/lib/media/media_source_engine.js +1 -1
- package/lib/media/play_rate_controller.js +1 -0
- package/lib/media/segment_prefetch.js +4 -0
- package/lib/media/streaming_engine.js +6 -8
- package/lib/net/networking_engine.js +1 -1
- package/lib/player.js +48 -5
- package/lib/text/ttml_text_parser.js +5 -0
- package/lib/util/language_utils.js +7 -8
- package/lib/util/periods.js +7 -1
- package/lib/util/platform.js +18 -0
- package/lib/util/stream_utils.js +14 -0
- package/package.json +1 -1
- package/ui/controls.js +3 -0
- package/ui/pip_button.js +5 -21
- package/ui/playback_rate_selection.js +4 -0
|
@@ -469,6 +469,7 @@ declare namespace shaka.abr {
|
|
|
469
469
|
setMediaElement (mediaElement : any ) : any ;
|
|
470
470
|
setVariants (variants : any ) : any ;
|
|
471
471
|
stop ( ) : any ;
|
|
472
|
+
trySuggestStreams ( ) : any ;
|
|
472
473
|
}
|
|
473
474
|
}
|
|
474
475
|
// Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.ui.externs.js
|
|
@@ -4852,6 +4853,12 @@ declare namespace shaka.extern {
|
|
|
4852
4853
|
* This will only be called after a call to init.
|
|
4853
4854
|
*/
|
|
4854
4855
|
stop ( ) : any ;
|
|
4856
|
+
/**
|
|
4857
|
+
* Notifies the ABR that it is a time to suggest new streams. This is used by
|
|
4858
|
+
* the Player when it finishes adding the last partial segment of a fast
|
|
4859
|
+
* switching stream.
|
|
4860
|
+
*/
|
|
4861
|
+
trySuggestStreams ( ) : any ;
|
|
4855
4862
|
}
|
|
4856
4863
|
}
|
|
4857
4864
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
|
|
@@ -469,6 +469,7 @@ declare namespace shaka.abr {
|
|
|
469
469
|
setMediaElement (mediaElement : any ) : any ;
|
|
470
470
|
setVariants (variants : any ) : any ;
|
|
471
471
|
stop ( ) : any ;
|
|
472
|
+
trySuggestStreams ( ) : any ;
|
|
472
473
|
}
|
|
473
474
|
}
|
|
474
475
|
// Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.ui.debug.externs.js
|
|
@@ -4852,6 +4853,12 @@ declare namespace shaka.extern {
|
|
|
4852
4853
|
* This will only be called after a call to init.
|
|
4853
4854
|
*/
|
|
4854
4855
|
stop ( ) : any ;
|
|
4856
|
+
/**
|
|
4857
|
+
* Notifies the ABR that it is a time to suggest new streams. This is used by
|
|
4858
|
+
* the Player when it finishes adding the last partial segment of a fast
|
|
4859
|
+
* switching stream.
|
|
4860
|
+
*/
|
|
4861
|
+
trySuggestStreams ( ) : any ;
|
|
4855
4862
|
}
|
|
4856
4863
|
}
|
|
4857
4864
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
|