shaka-player 3.2.4 → 3.2.7
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/.csslintrc +11 -1
- package/.github/ISSUE_TEMPLATE/bug_report.md +1 -1
- package/.github/workflows/build-and-test.yaml +129 -0
- package/.github/workflows/custom-actions/prep-for-appspot/action.yaml +56 -0
- package/.github/workflows/custom-actions/set-commit-status/action.yaml +41 -0
- package/.github/workflows/demo-version-index.yaml +29 -0
- package/.github/workflows/nightly-demo.yaml +42 -0
- package/.github/workflows/release-please.yaml +147 -0
- package/.github/workflows/safari-homedir-launcher.sh +18 -0
- package/.github/workflows/selenium-lab-tests.yaml +92 -0
- package/AUTHORS +2 -0
- package/CHANGELOG.md +1596 -1556
- package/CONTRIBUTING.md +2 -2
- package/CONTRIBUTORS +2 -0
- package/README.md +7 -7
- package/app-engine/README.md +9 -0
- package/app-engine/demo-version-index/README.md +14 -0
- package/app-engine/demo-version-index/app.yaml +2 -0
- package/app-engine/demo-version-index/main.py +162 -0
- package/app-engine/demo-version-index/requirements.txt +6 -0
- package/app-engine/demo-version-index/templates/index.html +114 -0
- package/app-engine/shaka-player-demo/README.md +18 -0
- package/app-engine/shaka-player-demo/app.yaml +61 -0
- package/app-engine/shaka-player-demo/main.py +95 -0
- package/app-engine/shaka-player-demo/posters/10yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/10yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/1yo.jpg +0 -0
- package/app-engine/shaka-player-demo/posters/2yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/2yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/3yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/3yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/4yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/4yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/5yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/5yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/6yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/6yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/7yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/7yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/8yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/8yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/9yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/9yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/audioOnly.gif +0 -0
- package/app-engine/shaka-player-demo/posters/audioRickRoll.gif +0 -0
- package/app-engine/shaka-player-demo/posters/colorbars.gif +0 -0
- package/app-engine/shaka-player-demo/posters/fireworks.jpg +0 -0
- package/app-engine/shaka-player-demo/posters/party-hat.png +0 -0
- package/app-engine/shaka-player-demo/posters/sources.txt +46 -0
- package/app-engine/shaka-player-demo/posters/standard.png +0 -0
- package/app-engine/shaka-player-demo/posters/trek.jpg +0 -0
- package/app-engine/shaka-player-demo/posters/valentines.png +0 -0
- package/app-engine/shaka-player-demo/posters/zombie.jpg +0 -0
- package/app-engine/shaka-player-demo/posters.py +110 -0
- package/app-engine/shaka-player-demo/requirements.txt +5 -0
- package/app-engine/shaka-player-demo/time.txt +1 -0
- package/build/README.md +3 -3
- package/build/checkversion.py +1 -1
- package/build/conformance.textproto +13 -0
- package/build/docker/Dockerfile +20 -0
- package/build/docker/docker-compose.yml +10 -0
- package/build/gendeps.py +18 -15
- package/build/shaka-lab.yaml +163 -0
- package/build/shakaBuildHelpers.py +4 -29
- package/build/test.py +94 -29
- package/build/wrapper.template.js +2 -2
- package/demo/TengwarTelcontar.woff2 +0 -0
- package/demo/asset_card.js +1 -2
- package/demo/cast_receiver/index.html +1 -1
- package/demo/cast_receiver/receiver_app.css +14 -14
- package/demo/common/assets.js +2 -0
- package/demo/config.js +0 -1
- package/demo/custom.js +0 -1
- package/demo/customWarning.txt +2 -2
- package/demo/demo.less +29 -18
- package/demo/demo_uncompiled.js +1 -13
- package/demo/index.html +1 -1
- package/demo/main.js +3 -3
- package/dist/controls.css +2 -2
- package/dist/controls.css.map +1 -1
- package/dist/demo.compiled.debug.js +191 -194
- package/dist/demo.compiled.debug.map +4 -4
- package/dist/demo.compiled.js +191 -194
- package/dist/demo.compiled.map +4 -4
- package/dist/demo.css +1 -1
- package/dist/demo.css.map +1 -1
- package/dist/deps.js +225 -219
- package/dist/locales.js +30 -30
- package/dist/receiver.compiled.debug.js +43 -45
- package/dist/receiver.compiled.debug.map +4 -4
- package/dist/receiver.compiled.js +43 -45
- package/dist/receiver.compiled.map +4 -4
- package/dist/shaka-player.compiled.d.ts +225 -224
- package/dist/shaka-player.compiled.debug.d.ts +225 -224
- package/dist/shaka-player.compiled.debug.externs.js +5 -3
- package/dist/shaka-player.compiled.debug.js +319 -323
- package/dist/shaka-player.compiled.debug.map +4 -4
- package/dist/shaka-player.compiled.externs.js +5 -3
- package/dist/shaka-player.compiled.js +832 -833
- package/dist/shaka-player.compiled.map +4 -4
- package/dist/shaka-player.ui.d.ts +267 -266
- package/dist/shaka-player.ui.debug.d.ts +267 -266
- package/dist/shaka-player.ui.debug.externs.js +5 -3
- package/dist/shaka-player.ui.debug.js +287 -291
- package/dist/shaka-player.ui.debug.map +4 -4
- package/dist/shaka-player.ui.externs.js +5 -3
- package/dist/shaka-player.ui.js +981 -982
- package/dist/shaka-player.ui.map +4 -4
- package/docs/design/REDESIGN.md +33 -33
- package/docs/design/codec_preferences.md +1 -1
- package/docs/design/dash-audio-channels.md +3 -3
- package/docs/design/dash-manifests.md +1 -1
- package/docs/design/gap-jumping.md +3 -3
- package/docs/design/preload.md +2 -2
- package/docs/tutorials/faq.md +8 -8
- package/docs/tutorials/index.json +1 -0
- package/docs/tutorials/plugins.md +3 -3
- package/docs/tutorials/selenium-grid-config.md +122 -0
- package/docs/tutorials/welcome.md +10 -2
- package/karma.conf.js +141 -30
- package/lib/abr/simple_abr_manager.js +12 -6
- package/lib/cast/cast_proxy.js +3 -4
- package/lib/cea/cea608_data_channel.js +2 -2
- package/lib/cea/cea708_service.js +5 -4
- package/lib/cea/mp4_cea_parser.js +11 -5
- package/lib/cea/sei_processor.js +6 -3
- package/lib/dash/dash_parser.js +11 -14
- package/lib/dash/mpd_utils.js +4 -5
- package/lib/dash/segment_list.js +1 -2
- package/lib/dash/segment_template.js +3 -3
- package/lib/hls/hls_parser.js +34 -20
- package/lib/hls/manifest_text_parser.js +3 -3
- package/lib/media/adaptation_set.js +1 -2
- package/lib/media/content_workarounds.js +2 -2
- package/lib/media/drm_engine.js +3 -2
- package/lib/media/media_source_engine.js +10 -3
- package/lib/media/mp4_segment_index_parser.js +1 -4
- package/lib/media/playhead.js +2 -2
- package/lib/media/presentation_timeline.js +18 -8
- package/lib/media/streaming_engine.js +6 -6
- package/lib/media/time_ranges_utils.js +1 -3
- package/lib/media/video_wrapper.js +1 -1
- package/lib/net/networking_engine.js +1 -1
- package/lib/offline/indexeddb/storage_mechanism.js +4 -2
- package/lib/offline/storage.js +4 -4
- package/lib/player.js +190 -114
- package/lib/polyfill/all.js +2 -3
- package/lib/polyfill/encryption_scheme.js +1 -1
- package/lib/polyfill/media_capabilities.js +3 -3
- package/lib/polyfill/mediasource.js +1 -1
- package/lib/text/cue.js +1 -1
- package/lib/text/simple_text_displayer.js +2 -1
- package/lib/text/ttml_text_parser.js +8 -5
- package/lib/text/ui_text_displayer.js +1 -1
- package/lib/util/buffer_utils.js +1 -3
- package/lib/util/config_utils.js +25 -0
- package/lib/util/ebml_parser.js +3 -3
- package/lib/util/error.js +8 -1
- package/lib/util/iterables.js +0 -46
- package/lib/util/manifest_parser_utils.js +1 -1
- package/lib/util/mime_utils.js +48 -1
- package/lib/util/mp4_box_parsers.js +1 -4
- package/lib/util/mp4_parser.js +5 -7
- package/lib/util/periods.js +13 -13
- package/lib/util/platform.js +3 -3
- package/lib/util/player_configuration.js +9 -14
- package/lib/util/pssh.js +1 -4
- package/lib/util/stream_utils.js +8 -5
- package/lib/util/string_utils.js +3 -5
- package/lib/util/uint8array_utils.js +3 -5
- package/lib/util/xml_utils.js +15 -7
- package/package.json +61 -36
- package/roadmap.md +17 -17
- package/test/abr/simple_abr_manager_unit.js +3 -8
- package/test/ads/ad_manager_unit.js +0 -6
- package/test/cast/cast_proxy_unit.js +0 -8
- package/test/cast/cast_receiver_integration.js +1 -18
- package/test/cast/cast_receiver_unit.js +1 -9
- package/test/cast/cast_sender_unit.js +0 -6
- package/test/cast/cast_utils_unit.js +1 -13
- package/test/cea/cea608_memory_unit.js +0 -5
- package/test/cea/cea708_service_unit.js +0 -7
- package/test/cea/cea708_window_unit.js +0 -5
- package/test/cea/cea_decoder_unit.js +0 -6
- package/test/cea/dtvcc_packet_builder_unit.js +0 -3
- package/test/cea/dtvcc_packet_unit.js +0 -5
- package/test/cea/mp4_cea_parser_unit.js +0 -4
- package/test/dash/dash_parser_content_protection_unit.js +1 -10
- package/test/dash/dash_parser_live_unit.js +2 -15
- package/test/dash/dash_parser_manifest_unit.js +2 -40
- package/test/dash/dash_parser_segment_base_unit.js +1 -8
- package/test/dash/dash_parser_segment_list_unit.js +1 -7
- package/test/dash/dash_parser_segment_template_unit.js +0 -9
- package/test/dash/mpd_utils_unit.js +3 -11
- package/test/demo/demo_unit.js +0 -5
- package/test/deprecate/enforcer_unit.js +0 -4
- package/test/deprecate/version_unit.js +0 -2
- package/test/hls/hls_live_unit.js +28 -14
- package/test/hls/hls_parser_unit.js +2 -15
- package/test/hls/manifest_text_parser_unit.js +19 -10
- package/test/media/adaptation_set_criteria_unit.js +3 -7
- package/test/media/adaptation_set_unit.js +0 -2
- package/test/media/buffering_observer_unit.js +1 -4
- package/test/media/closed_caption_parser_unit.js +0 -3
- package/test/media/drm_engine_integration.js +2 -15
- package/test/media/drm_engine_unit.js +4 -24
- package/test/media/manifest_parser_unit.js +0 -4
- package/test/media/media_source_engine_integration.js +1 -7
- package/test/media/media_source_engine_unit.js +5 -18
- package/test/media/mp4_segment_index_parser_unit.js +0 -4
- package/test/media/play_rate_controller_unit.js +0 -4
- package/test/media/playhead_unit.js +8 -16
- package/test/media/presentation_timeline_unit.js +4 -7
- package/test/media/region_observer_unit.js +1 -6
- package/test/media/region_timeline_unit.js +0 -3
- package/test/media/segment_index_unit.js +0 -6
- package/test/media/segment_reference_unit.js +0 -3
- package/test/media/stall_detector_unit.js +0 -5
- package/test/media/streaming_engine_integration.js +11 -36
- package/test/media/streaming_engine_unit.js +11 -35
- package/test/media/time_ranges_utils_unit.js +0 -2
- package/test/media/transmuxer_integration.js +0 -6
- package/test/media/webm_segment_index_parser_unit.js +0 -4
- package/test/net/data_uri_plugin_unit.js +0 -7
- package/test/net/http_plugin_unit.js +0 -9
- package/test/net/networking_engine_unit.js +0 -11
- package/test/offline/download_progress_estimator_unit.js +0 -2
- package/test/offline/indexeddb_storage_unit.js +1 -7
- package/test/offline/manifest_convert_unit.js +0 -8
- package/test/offline/offline_integration.js +1 -10
- package/test/offline/offline_manifest_parser_unit.js +0 -6
- package/test/offline/offline_scheme_unit.js +0 -8
- package/test/offline/offline_uri_unit.js +0 -2
- package/test/offline/storage_compatibility_unit.js +2 -15
- package/test/offline/storage_integration.js +1 -25
- package/test/player_external.js +9 -11
- package/test/player_integration.js +27 -38
- package/test/player_load_graph_integration.js +1 -6
- package/test/player_src_equals_external.js +3 -9
- package/test/player_src_equals_integration.js +81 -90
- package/test/player_unit.js +150 -38
- package/test/routing/walker_unit.js +0 -8
- package/test/test/assets/large_file.mpd +1 -1
- package/test/test/boot.js +84 -22
- package/test/test/externs/filters.js +4 -0
- package/test/test/externs/jasmine.js +2 -2
- package/test/test/externs/karma.js +4 -0
- package/test/test/namespace.js +10 -0
- package/test/test/util/canned_idb.js +0 -8
- package/test/test/util/cea_utils.js +0 -6
- package/test/test/util/dash_parser_util.js +0 -13
- package/test/test/util/fake_ad.js +0 -3
- package/test/test/util/fake_ad_manager.js +0 -9
- package/test/test/util/fake_demo_main.js +0 -5
- package/test/test/util/fake_drm_engine.js +0 -6
- package/test/test/util/fake_media_source_engine.js +0 -7
- package/test/test/util/fake_networking_engine.js +0 -5
- package/test/test/util/fake_text_displayer.js +0 -5
- package/test/test/util/indexeddb_utils.js +1 -10
- package/test/test/util/jasmine_fetch.js +0 -1
- package/test/test/util/loader.js +0 -18
- package/test/test/util/manifest_generator.js +9 -14
- package/test/test/util/manifest_parser_util.js +0 -6
- package/test/test/util/offline_utils.js +0 -5
- package/test/test/util/simple_fakes.js +40 -28
- package/test/test/util/stream_generator.js +0 -14
- package/test/test/util/streaming_engine_util.js +0 -15
- package/test/test/util/test_scheme.js +1 -19
- package/test/test/util/ttml_utils.js +0 -2
- package/test/test/util/ui_utils.js +0 -9
- package/test/test/util/util.js +5 -19
- package/test/test/util/waiter.js +84 -43
- package/test/text/cue_integration.js +0 -4
- package/test/text/lrc_text_parser_unit.js +0 -4
- package/test/text/mp4_ttml_parser_unit.js +0 -6
- package/test/text/mp4_vtt_parser_unit.js +1 -7
- package/test/text/sbv_text_parser_unit.js +0 -4
- package/test/text/simple_text_displayer_unit.js +1 -8
- package/test/text/srt_text_parser_unit.js +0 -4
- package/test/text/ssa_text_parser_unit.js +0 -5
- package/test/text/text_engine_unit.js +2 -7
- package/test/text/text_track_integration.js +0 -2
- package/test/text/ttml_text_parser_unit.js +2 -11
- package/test/text/ui_text_displayer_unit.js +44 -41
- package/test/text/vtt_text_parser_unit.js +0 -9
- package/test/text/web_vtt_generator_unit.js +0 -3
- package/test/ui/ad_ui_unit.js +0 -11
- package/test/ui/localization_unit.js +0 -3
- package/test/ui/text_displayer_layout_unit.js +1 -12
- package/test/ui/ui_customization_unit.js +0 -6
- package/test/ui/ui_integration.js +0 -16
- package/test/ui/ui_unit.js +1 -17
- package/test/util/abortable_operation_unit.js +4 -9
- package/test/util/array_utils_unit.js +0 -2
- package/test/util/buffer_utils_unit.js +0 -2
- package/test/util/data_view_reader_unit.js +0 -4
- package/test/util/ebml_parser_unit.js +0 -4
- package/test/util/event_manager_unit.js +0 -3
- package/test/util/fake_event_target_unit.js +0 -5
- package/test/util/functional_unit.js +1 -1
- package/test/util/iterables_unit.js +0 -64
- package/test/util/language_utils_unit.js +0 -3
- package/test/util/manifest_parser_utils_unit.js +0 -2
- package/test/util/mime_utils_unit.js +54 -0
- package/test/util/mp4_box_parsers_unit.js +0 -5
- package/test/util/mp4_parser_unit.js +0 -4
- package/test/util/multi_map_unit.js +0 -3
- package/test/util/object_utils_unit.js +0 -2
- package/test/util/periods_unit.js +93 -7
- package/test/util/pssh_unit.js +0 -5
- package/test/util/state_history_unit.js +0 -2
- package/test/util/stream_utils_unit.js +3 -8
- package/test/util/string_utils_unit.js +0 -6
- package/test/util/text_parser_unit.js +0 -2
- package/test/util/xml_utils_unit.js +0 -4
- package/ui/less/ad_controls.less +6 -6
- package/ui/less/buttons.less +6 -6
- package/ui/less/containers.less +9 -11
- package/ui/less/overflow_menu.less +4 -4
- package/ui/less/range_elements.less +7 -2
- package/ui/locales/sjn-translations.yaml +257 -0
- package/ui/locales/sjn.json +42 -0
- package/ui/seek_bar.js +2 -1
- package/.github/workflows/build_and_test.yaml +0 -73
- package/.github/workflows/release.yaml +0 -53
- package/docs/tutorials/gsoc-ideas-list.md +0 -3
- package/externs/svgelement.js +0 -18
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
declare class GlobalError extends Error {}
|
|
8
8
|
|
|
9
9
|
//!! generated by clutz.
|
|
10
|
-
// Generated from /
|
|
10
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
11
11
|
declare namespace shaka {
|
|
12
12
|
class Player extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
|
|
13
13
|
private noStructuralTyping_shaka_Player : any;
|
|
@@ -423,7 +423,7 @@ declare namespace shaka {
|
|
|
423
423
|
static version : string ;
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
// Generated from /
|
|
426
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
427
427
|
declare namespace shaka.Player {
|
|
428
428
|
/**
|
|
429
429
|
* In order to know what method of loading the player used for some content, we
|
|
@@ -452,7 +452,7 @@ declare namespace shaka.Player {
|
|
|
452
452
|
SRC_EQUALS = 3.0 ,
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
|
-
// Generated from /
|
|
455
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
456
456
|
declare namespace shaka.abr {
|
|
457
457
|
class SimpleAbrManager implements shaka.extern.AbrManager {
|
|
458
458
|
private noStructuralTyping_shaka_abr_SimpleAbrManager : any;
|
|
@@ -468,7 +468,7 @@ declare namespace shaka.abr {
|
|
|
468
468
|
stop ( ) : any ;
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
// Generated from /
|
|
471
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
472
472
|
declare namespace shaka.ads {
|
|
473
473
|
/**
|
|
474
474
|
* A class responsible for ad-related interactions.
|
|
@@ -615,7 +615,7 @@ declare namespace shaka.ads {
|
|
|
615
615
|
static IMA_STREAM_MANAGER_LOADED : string ;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
// Generated from /
|
|
618
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
619
619
|
declare namespace shaka.ads {
|
|
620
620
|
class ClientSideAd implements shaka.extern.IAd {
|
|
621
621
|
private noStructuralTyping_shaka_ads_ClientSideAd : any;
|
|
@@ -640,7 +640,7 @@ declare namespace shaka.ads {
|
|
|
640
640
|
skip ( ) : any ;
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
|
-
// Generated from /
|
|
643
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
644
644
|
declare namespace shaka.ads {
|
|
645
645
|
class ServerSideAd implements shaka.extern.IAd {
|
|
646
646
|
private noStructuralTyping_shaka_ads_ServerSideAd : any;
|
|
@@ -665,7 +665,7 @@ declare namespace shaka.ads {
|
|
|
665
665
|
skip ( ) : any ;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
|
-
// Generated from /
|
|
668
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
669
669
|
declare namespace shaka.cast {
|
|
670
670
|
class CastProxy extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
|
|
671
671
|
private noStructuralTyping_shaka_cast_CastProxy : any;
|
|
@@ -705,7 +705,7 @@ declare namespace shaka.cast {
|
|
|
705
705
|
suggestDisconnect ( ) : any ;
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
|
-
// Generated from /
|
|
708
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
709
709
|
declare namespace shaka.cast {
|
|
710
710
|
/**
|
|
711
711
|
* A receiver to communicate between the Chromecast-hosted player and the
|
|
@@ -757,7 +757,7 @@ declare namespace shaka.cast {
|
|
|
757
757
|
setContentTitle (title : string ) : any ;
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
|
-
// Generated from /
|
|
760
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
761
761
|
declare namespace shaka.dash {
|
|
762
762
|
/**
|
|
763
763
|
* Creates a new DASH parser.
|
|
@@ -771,7 +771,7 @@ declare namespace shaka.dash {
|
|
|
771
771
|
update ( ) : any ;
|
|
772
772
|
}
|
|
773
773
|
}
|
|
774
|
-
// Generated from /
|
|
774
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
775
775
|
declare namespace shaka {
|
|
776
776
|
class dependencies {
|
|
777
777
|
private noStructuralTyping_shaka_dependencies : any;
|
|
@@ -788,13 +788,13 @@ declare namespace shaka {
|
|
|
788
788
|
static has (key : shaka.dependencies.Allowed ) : boolean ;
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
|
-
// Generated from /
|
|
791
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
792
792
|
declare namespace shaka.dependencies {
|
|
793
793
|
enum Allowed {
|
|
794
794
|
muxjs = 'muxjs' ,
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
|
-
// Generated from /
|
|
797
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
798
798
|
declare namespace shaka.hls {
|
|
799
799
|
/**
|
|
800
800
|
* HLS parser.
|
|
@@ -808,7 +808,7 @@ declare namespace shaka.hls {
|
|
|
808
808
|
update ( ) : any ;
|
|
809
809
|
}
|
|
810
810
|
}
|
|
811
|
-
// Generated from /
|
|
811
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
812
812
|
declare namespace shaka.media {
|
|
813
813
|
/**
|
|
814
814
|
* Creates an InitSegmentReference, which provides the location to an
|
|
@@ -830,7 +830,7 @@ declare namespace shaka.media {
|
|
|
830
830
|
getStartByte ( ) : number ;
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
// Generated from /
|
|
833
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
834
834
|
declare namespace shaka.media {
|
|
835
835
|
class ManifestParser {
|
|
836
836
|
private noStructuralTyping_shaka_media_ManifestParser : any;
|
|
@@ -853,7 +853,7 @@ declare namespace shaka.media {
|
|
|
853
853
|
static unregisterParserByMime (mimeType : string ) : any ;
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
|
-
// Generated from /
|
|
856
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
857
857
|
declare namespace shaka.media {
|
|
858
858
|
/**
|
|
859
859
|
* A meta-SegmentIndex composed of multiple other SegmentIndexes.
|
|
@@ -879,7 +879,7 @@ declare namespace shaka.media {
|
|
|
879
879
|
updateEvery (interval : number , updateCallback : ( ) => ( shaka.media.SegmentReference | null ) [] | null ) : any ;
|
|
880
880
|
}
|
|
881
881
|
}
|
|
882
|
-
// Generated from /
|
|
882
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
883
883
|
declare namespace shaka.media {
|
|
884
884
|
/**
|
|
885
885
|
* PresentationTimeline.
|
|
@@ -994,7 +994,7 @@ declare namespace shaka.media {
|
|
|
994
994
|
usingPresentationStartTime ( ) : boolean ;
|
|
995
995
|
}
|
|
996
996
|
}
|
|
997
|
-
// Generated from /
|
|
997
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
998
998
|
declare namespace shaka.media {
|
|
999
999
|
/**
|
|
1000
1000
|
* SegmentIndex.
|
|
@@ -1092,7 +1092,7 @@ declare namespace shaka.media {
|
|
|
1092
1092
|
static forSingleSegment (startTime : number , duration : number , uris : string [] ) : shaka.media.SegmentIndex ;
|
|
1093
1093
|
}
|
|
1094
1094
|
}
|
|
1095
|
-
// Generated from /
|
|
1095
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1096
1096
|
declare namespace shaka.media {
|
|
1097
1097
|
/**
|
|
1098
1098
|
* An iterator over a SegmentIndex's references.
|
|
@@ -1111,7 +1111,7 @@ declare namespace shaka.media {
|
|
|
1111
1111
|
seek (time : number ) : shaka.media.SegmentReference | null ;
|
|
1112
1112
|
}
|
|
1113
1113
|
}
|
|
1114
|
-
// Generated from /
|
|
1114
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1115
1115
|
declare namespace shaka.media {
|
|
1116
1116
|
/**
|
|
1117
1117
|
* SegmentReference provides the start time, end time, and location to a media
|
|
@@ -1154,14 +1154,14 @@ declare namespace shaka.media {
|
|
|
1154
1154
|
getUris ( ) : string [] ;
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
|
-
// Generated from /
|
|
1157
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1158
1158
|
declare namespace shaka.net {
|
|
1159
1159
|
class DataUriPlugin {
|
|
1160
1160
|
private noStructuralTyping_shaka_net_DataUriPlugin : any;
|
|
1161
1161
|
static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
|
-
// Generated from /
|
|
1164
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1165
1165
|
declare namespace shaka.net {
|
|
1166
1166
|
class HttpFetchPlugin {
|
|
1167
1167
|
private noStructuralTyping_shaka_net_HttpFetchPlugin : any;
|
|
@@ -1174,14 +1174,14 @@ declare namespace shaka.net {
|
|
|
1174
1174
|
static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
|
-
// Generated from /
|
|
1177
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1178
1178
|
declare namespace shaka.net {
|
|
1179
1179
|
class HttpXHRPlugin {
|
|
1180
1180
|
private noStructuralTyping_shaka_net_HttpXHRPlugin : any;
|
|
1181
1181
|
static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
|
|
1182
1182
|
}
|
|
1183
1183
|
}
|
|
1184
|
-
// Generated from /
|
|
1184
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1185
1185
|
declare namespace shaka.net {
|
|
1186
1186
|
/**
|
|
1187
1187
|
* NetworkingEngine wraps all networking operations. This accepts plugins that
|
|
@@ -1250,7 +1250,7 @@ declare namespace shaka.net {
|
|
|
1250
1250
|
static unregisterScheme (scheme : string ) : any ;
|
|
1251
1251
|
}
|
|
1252
1252
|
}
|
|
1253
|
-
// Generated from /
|
|
1253
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1254
1254
|
declare namespace shaka.net.NetworkingEngine {
|
|
1255
1255
|
/**
|
|
1256
1256
|
* A wrapper class for the number of bytes remaining to be downloaded for the
|
|
@@ -1263,7 +1263,7 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1263
1263
|
private noStructuralTyping_shaka_net_NetworkingEngine_NumBytesRemainingClass : any;
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
|
-
// Generated from /
|
|
1266
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1267
1267
|
declare namespace shaka.net.NetworkingEngine {
|
|
1268
1268
|
/**
|
|
1269
1269
|
* A pending network request. This can track the current progress of the
|
|
@@ -1278,7 +1278,7 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1278
1278
|
constructor (promise : Promise < any > , onAbort : shaka.extern.CreateSegmentIndexFunction , numBytesRemainingObj : shaka.net.NetworkingEngine.NumBytesRemainingClass | null ) ;
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
1281
|
-
// Generated from /
|
|
1281
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1282
1282
|
declare namespace shaka.net.NetworkingEngine {
|
|
1283
1283
|
/**
|
|
1284
1284
|
* Priority level for network scheme plugins.
|
|
@@ -1296,7 +1296,7 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1296
1296
|
PREFERRED = 2.0 ,
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
|
-
// Generated from /
|
|
1299
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1300
1300
|
declare namespace shaka.net.NetworkingEngine {
|
|
1301
1301
|
/**
|
|
1302
1302
|
* Request types. Allows a filter to decide which requests to read/alter.
|
|
@@ -1313,14 +1313,14 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1313
1313
|
TIMING = 4.0 ,
|
|
1314
1314
|
}
|
|
1315
1315
|
}
|
|
1316
|
-
// Generated from /
|
|
1316
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1317
1317
|
declare namespace shaka.offline {
|
|
1318
1318
|
class OfflineScheme {
|
|
1319
1319
|
private noStructuralTyping_shaka_offline_OfflineScheme : any;
|
|
1320
1320
|
static plugin (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
|
|
1321
1321
|
}
|
|
1322
1322
|
}
|
|
1323
|
-
// Generated from /
|
|
1323
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1324
1324
|
declare namespace shaka.offline {
|
|
1325
1325
|
class Storage implements shaka.util.IDestroyable {
|
|
1326
1326
|
private noStructuralTyping_shaka_offline_Storage : any;
|
|
@@ -1395,7 +1395,7 @@ declare namespace shaka.offline {
|
|
|
1395
1395
|
static support ( ) : boolean ;
|
|
1396
1396
|
}
|
|
1397
1397
|
}
|
|
1398
|
-
// Generated from /
|
|
1398
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1399
1399
|
declare namespace shaka.offline {
|
|
1400
1400
|
/**
|
|
1401
1401
|
* StorageMuxer is responsible for managing StorageMechanisms and addressing
|
|
@@ -1428,7 +1428,7 @@ declare namespace shaka.offline {
|
|
|
1428
1428
|
static unregister (name : string ) : any ;
|
|
1429
1429
|
}
|
|
1430
1430
|
}
|
|
1431
|
-
// Generated from /
|
|
1431
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1432
1432
|
declare namespace shaka {
|
|
1433
1433
|
class polyfill {
|
|
1434
1434
|
private noStructuralTyping_shaka_polyfill : any;
|
|
@@ -1443,7 +1443,7 @@ declare namespace shaka {
|
|
|
1443
1443
|
static register (polyfill : ( ) => any , priority ? : number ) : any ;
|
|
1444
1444
|
}
|
|
1445
1445
|
}
|
|
1446
|
-
// Generated from /
|
|
1446
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1447
1447
|
declare namespace shaka.polyfill {
|
|
1448
1448
|
class Aria {
|
|
1449
1449
|
private noStructuralTyping_shaka_polyfill_Aria : any;
|
|
@@ -1453,7 +1453,7 @@ declare namespace shaka.polyfill {
|
|
|
1453
1453
|
static install ( ) : any ;
|
|
1454
1454
|
}
|
|
1455
1455
|
}
|
|
1456
|
-
// Generated from /
|
|
1456
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1457
1457
|
declare namespace shaka.polyfill {
|
|
1458
1458
|
class EncryptionScheme {
|
|
1459
1459
|
private noStructuralTyping_shaka_polyfill_EncryptionScheme : any;
|
|
@@ -1463,7 +1463,7 @@ declare namespace shaka.polyfill {
|
|
|
1463
1463
|
static install ( ) : any ;
|
|
1464
1464
|
}
|
|
1465
1465
|
}
|
|
1466
|
-
// Generated from /
|
|
1466
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1467
1467
|
declare namespace shaka.polyfill {
|
|
1468
1468
|
class Fullscreen {
|
|
1469
1469
|
private noStructuralTyping_shaka_polyfill_Fullscreen : any;
|
|
@@ -1473,7 +1473,7 @@ declare namespace shaka.polyfill {
|
|
|
1473
1473
|
static install ( ) : any ;
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
1476
|
-
// Generated from /
|
|
1476
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1477
1477
|
declare namespace shaka.polyfill {
|
|
1478
1478
|
class MathRound {
|
|
1479
1479
|
private noStructuralTyping_shaka_polyfill_MathRound : any;
|
|
@@ -1483,7 +1483,7 @@ declare namespace shaka.polyfill {
|
|
|
1483
1483
|
static install ( ) : any ;
|
|
1484
1484
|
}
|
|
1485
1485
|
}
|
|
1486
|
-
// Generated from /
|
|
1486
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1487
1487
|
declare namespace shaka.polyfill {
|
|
1488
1488
|
class MediaCapabilities {
|
|
1489
1489
|
private noStructuralTyping_shaka_polyfill_MediaCapabilities : any;
|
|
@@ -1499,7 +1499,7 @@ declare namespace shaka.polyfill {
|
|
|
1499
1499
|
static originalMcap : any | null ;
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
|
-
// Generated from /
|
|
1502
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1503
1503
|
declare namespace shaka.polyfill {
|
|
1504
1504
|
class MediaSource {
|
|
1505
1505
|
private noStructuralTyping_shaka_polyfill_MediaSource : any;
|
|
@@ -1509,7 +1509,7 @@ declare namespace shaka.polyfill {
|
|
|
1509
1509
|
static install ( ) : any ;
|
|
1510
1510
|
}
|
|
1511
1511
|
}
|
|
1512
|
-
// Generated from /
|
|
1512
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1513
1513
|
declare namespace shaka.polyfill {
|
|
1514
1514
|
class Orientation {
|
|
1515
1515
|
private noStructuralTyping_shaka_polyfill_Orientation : any;
|
|
@@ -1519,7 +1519,7 @@ declare namespace shaka.polyfill {
|
|
|
1519
1519
|
static install ( ) : any ;
|
|
1520
1520
|
}
|
|
1521
1521
|
}
|
|
1522
|
-
// Generated from /
|
|
1522
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1523
1523
|
declare namespace shaka.polyfill {
|
|
1524
1524
|
class PatchedMediaKeysApple {
|
|
1525
1525
|
private noStructuralTyping_shaka_polyfill_PatchedMediaKeysApple : any;
|
|
@@ -1529,7 +1529,7 @@ declare namespace shaka.polyfill {
|
|
|
1529
1529
|
static install ( ) : any ;
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
|
-
// Generated from /
|
|
1532
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1533
1533
|
declare namespace shaka.polyfill {
|
|
1534
1534
|
class PatchedMediaKeysMs {
|
|
1535
1535
|
private noStructuralTyping_shaka_polyfill_PatchedMediaKeysMs : any;
|
|
@@ -1539,7 +1539,7 @@ declare namespace shaka.polyfill {
|
|
|
1539
1539
|
static install ( ) : any ;
|
|
1540
1540
|
}
|
|
1541
1541
|
}
|
|
1542
|
-
// Generated from /
|
|
1542
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1543
1543
|
declare namespace shaka.polyfill {
|
|
1544
1544
|
class PatchedMediaKeysNop {
|
|
1545
1545
|
private noStructuralTyping_shaka_polyfill_PatchedMediaKeysNop : any;
|
|
@@ -1549,7 +1549,7 @@ declare namespace shaka.polyfill {
|
|
|
1549
1549
|
static install ( ) : any ;
|
|
1550
1550
|
}
|
|
1551
1551
|
}
|
|
1552
|
-
// Generated from /
|
|
1552
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1553
1553
|
declare namespace shaka.polyfill {
|
|
1554
1554
|
class PatchedMediaKeysWebkit {
|
|
1555
1555
|
private noStructuralTyping_shaka_polyfill_PatchedMediaKeysWebkit : any;
|
|
@@ -1559,7 +1559,7 @@ declare namespace shaka.polyfill {
|
|
|
1559
1559
|
static install ( ) : any ;
|
|
1560
1560
|
}
|
|
1561
1561
|
}
|
|
1562
|
-
// Generated from /
|
|
1562
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1563
1563
|
declare namespace shaka.polyfill {
|
|
1564
1564
|
class PiPWebkit {
|
|
1565
1565
|
private noStructuralTyping_shaka_polyfill_PiPWebkit : any;
|
|
@@ -1569,7 +1569,7 @@ declare namespace shaka.polyfill {
|
|
|
1569
1569
|
static install ( ) : any ;
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
|
-
// Generated from /
|
|
1572
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1573
1573
|
declare namespace shaka.polyfill {
|
|
1574
1574
|
class StorageEstimate {
|
|
1575
1575
|
private noStructuralTyping_shaka_polyfill_StorageEstimate : any;
|
|
@@ -1579,7 +1579,7 @@ declare namespace shaka.polyfill {
|
|
|
1579
1579
|
static install ( ) : any ;
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
|
-
// Generated from /
|
|
1582
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1583
1583
|
declare namespace shaka.polyfill {
|
|
1584
1584
|
class VTTCue {
|
|
1585
1585
|
private noStructuralTyping_shaka_polyfill_VTTCue : any;
|
|
@@ -1589,7 +1589,7 @@ declare namespace shaka.polyfill {
|
|
|
1589
1589
|
static install ( ) : any ;
|
|
1590
1590
|
}
|
|
1591
1591
|
}
|
|
1592
|
-
// Generated from /
|
|
1592
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1593
1593
|
declare namespace shaka.polyfill {
|
|
1594
1594
|
class VideoPlayPromise {
|
|
1595
1595
|
private noStructuralTyping_shaka_polyfill_VideoPlayPromise : any;
|
|
@@ -1599,7 +1599,7 @@ declare namespace shaka.polyfill {
|
|
|
1599
1599
|
static install ( ) : any ;
|
|
1600
1600
|
}
|
|
1601
1601
|
}
|
|
1602
|
-
// Generated from /
|
|
1602
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1603
1603
|
declare namespace shaka.polyfill {
|
|
1604
1604
|
class VideoPlaybackQuality {
|
|
1605
1605
|
private noStructuralTyping_shaka_polyfill_VideoPlaybackQuality : any;
|
|
@@ -1609,7 +1609,7 @@ declare namespace shaka.polyfill {
|
|
|
1609
1609
|
static install ( ) : any ;
|
|
1610
1610
|
}
|
|
1611
1611
|
}
|
|
1612
|
-
// Generated from /
|
|
1612
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1613
1613
|
declare namespace shaka.text {
|
|
1614
1614
|
class Cue implements shaka.extern.Cue {
|
|
1615
1615
|
private noStructuralTyping_shaka_text_Cue : any;
|
|
@@ -1656,7 +1656,7 @@ declare namespace shaka.text {
|
|
|
1656
1656
|
writingMode : any ;
|
|
1657
1657
|
}
|
|
1658
1658
|
}
|
|
1659
|
-
// Generated from /
|
|
1659
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1660
1660
|
declare namespace shaka.text.Cue {
|
|
1661
1661
|
/**
|
|
1662
1662
|
* Default text background color according to
|
|
@@ -1677,7 +1677,7 @@ declare namespace shaka.text.Cue {
|
|
|
1677
1677
|
bg_yellow = '#FF0' ,
|
|
1678
1678
|
}
|
|
1679
1679
|
}
|
|
1680
|
-
// Generated from /
|
|
1680
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1681
1681
|
declare namespace shaka.text.Cue {
|
|
1682
1682
|
/**
|
|
1683
1683
|
* Default text color according to
|
|
@@ -1698,14 +1698,14 @@ declare namespace shaka.text.Cue {
|
|
|
1698
1698
|
yellow = '#FF0' ,
|
|
1699
1699
|
}
|
|
1700
1700
|
}
|
|
1701
|
-
// Generated from /
|
|
1701
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1702
1702
|
declare namespace shaka.text.Cue {
|
|
1703
1703
|
enum direction {
|
|
1704
1704
|
HORIZONTAL_LEFT_TO_RIGHT = 'ltr' ,
|
|
1705
1705
|
HORIZONTAL_RIGHT_TO_LEFT = 'rtl' ,
|
|
1706
1706
|
}
|
|
1707
1707
|
}
|
|
1708
|
-
// Generated from /
|
|
1708
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1709
1709
|
declare namespace shaka.text.Cue {
|
|
1710
1710
|
/**
|
|
1711
1711
|
* Vertical alignments of the cues within their extents.
|
|
@@ -1723,7 +1723,7 @@ declare namespace shaka.text.Cue {
|
|
|
1723
1723
|
CENTER = 'center' ,
|
|
1724
1724
|
}
|
|
1725
1725
|
}
|
|
1726
|
-
// Generated from /
|
|
1726
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1727
1727
|
declare namespace shaka.text.Cue {
|
|
1728
1728
|
enum fontStyle {
|
|
1729
1729
|
ITALIC = 'italic' ,
|
|
@@ -1731,7 +1731,7 @@ declare namespace shaka.text.Cue {
|
|
|
1731
1731
|
OBLIQUE = 'oblique' ,
|
|
1732
1732
|
}
|
|
1733
1733
|
}
|
|
1734
|
-
// Generated from /
|
|
1734
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1735
1735
|
declare namespace shaka.text.Cue {
|
|
1736
1736
|
/**
|
|
1737
1737
|
* In CSS font weight can be a number, where 400 is normal and 700 is bold.
|
|
@@ -1746,7 +1746,7 @@ declare namespace shaka.text.Cue {
|
|
|
1746
1746
|
NORMAL = 400.0 ,
|
|
1747
1747
|
}
|
|
1748
1748
|
}
|
|
1749
|
-
// Generated from /
|
|
1749
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1750
1750
|
declare namespace shaka.text.Cue {
|
|
1751
1751
|
enum lineAlign {
|
|
1752
1752
|
CENTER = 'center' ,
|
|
@@ -1754,14 +1754,14 @@ declare namespace shaka.text.Cue {
|
|
|
1754
1754
|
START = 'start' ,
|
|
1755
1755
|
}
|
|
1756
1756
|
}
|
|
1757
|
-
// Generated from /
|
|
1757
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1758
1758
|
declare namespace shaka.text.Cue {
|
|
1759
1759
|
enum lineInterpretation {
|
|
1760
1760
|
LINE_NUMBER = 0.0 ,
|
|
1761
1761
|
PERCENTAGE = 1.0 ,
|
|
1762
1762
|
}
|
|
1763
1763
|
}
|
|
1764
|
-
// Generated from /
|
|
1764
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1765
1765
|
declare namespace shaka.text.Cue {
|
|
1766
1766
|
enum positionAlign {
|
|
1767
1767
|
AUTO = 'auto' ,
|
|
@@ -1770,7 +1770,7 @@ declare namespace shaka.text.Cue {
|
|
|
1770
1770
|
RIGHT = 'line-right' ,
|
|
1771
1771
|
}
|
|
1772
1772
|
}
|
|
1773
|
-
// Generated from /
|
|
1773
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1774
1774
|
declare namespace shaka.text.Cue {
|
|
1775
1775
|
enum textAlign {
|
|
1776
1776
|
CENTER = 'center' ,
|
|
@@ -1780,7 +1780,7 @@ declare namespace shaka.text.Cue {
|
|
|
1780
1780
|
START = 'start' ,
|
|
1781
1781
|
}
|
|
1782
1782
|
}
|
|
1783
|
-
// Generated from /
|
|
1783
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1784
1784
|
declare namespace shaka.text.Cue {
|
|
1785
1785
|
enum textDecoration {
|
|
1786
1786
|
LINE_THROUGH = 'lineThrough' ,
|
|
@@ -1788,7 +1788,7 @@ declare namespace shaka.text.Cue {
|
|
|
1788
1788
|
UNDERLINE = 'underline' ,
|
|
1789
1789
|
}
|
|
1790
1790
|
}
|
|
1791
|
-
// Generated from /
|
|
1791
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1792
1792
|
declare namespace shaka.text.Cue {
|
|
1793
1793
|
enum writingMode {
|
|
1794
1794
|
HORIZONTAL_TOP_TO_BOTTOM = 'horizontal-tb' ,
|
|
@@ -1796,7 +1796,7 @@ declare namespace shaka.text.Cue {
|
|
|
1796
1796
|
VERTICAL_RIGHT_TO_LEFT = 'vertical-rl' ,
|
|
1797
1797
|
}
|
|
1798
1798
|
}
|
|
1799
|
-
// Generated from /
|
|
1799
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1800
1800
|
declare namespace shaka.text {
|
|
1801
1801
|
class CueRegion implements shaka.extern.CueRegion {
|
|
1802
1802
|
private noStructuralTyping_shaka_text_CueRegion : any;
|
|
@@ -1813,14 +1813,14 @@ declare namespace shaka.text {
|
|
|
1813
1813
|
widthUnits : any ;
|
|
1814
1814
|
}
|
|
1815
1815
|
}
|
|
1816
|
-
// Generated from /
|
|
1816
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1817
1817
|
declare namespace shaka.text.CueRegion {
|
|
1818
1818
|
enum scrollMode {
|
|
1819
1819
|
NONE = '' ,
|
|
1820
1820
|
UP = 'up' ,
|
|
1821
1821
|
}
|
|
1822
1822
|
}
|
|
1823
|
-
// Generated from /
|
|
1823
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1824
1824
|
declare namespace shaka.text.CueRegion {
|
|
1825
1825
|
enum units {
|
|
1826
1826
|
LINES = 2.0 ,
|
|
@@ -1828,7 +1828,7 @@ declare namespace shaka.text.CueRegion {
|
|
|
1828
1828
|
PX = 0.0 ,
|
|
1829
1829
|
}
|
|
1830
1830
|
}
|
|
1831
|
-
// Generated from /
|
|
1831
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1832
1832
|
declare namespace shaka.text {
|
|
1833
1833
|
/**
|
|
1834
1834
|
* LRC file format: https://en.wikipedia.org/wiki/LRC_(file_format)
|
|
@@ -1839,7 +1839,7 @@ declare namespace shaka.text {
|
|
|
1839
1839
|
parseMedia (data : any , time : any ) : any ;
|
|
1840
1840
|
}
|
|
1841
1841
|
}
|
|
1842
|
-
// Generated from /
|
|
1842
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1843
1843
|
declare namespace shaka.text {
|
|
1844
1844
|
class Mp4TtmlParser implements shaka.extern.TextParser {
|
|
1845
1845
|
private noStructuralTyping_shaka_text_Mp4TtmlParser : any;
|
|
@@ -1847,7 +1847,7 @@ declare namespace shaka.text {
|
|
|
1847
1847
|
parseMedia (data : any , time : any ) : any ;
|
|
1848
1848
|
}
|
|
1849
1849
|
}
|
|
1850
|
-
// Generated from /
|
|
1850
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1851
1851
|
declare namespace shaka.text {
|
|
1852
1852
|
class Mp4VttParser implements shaka.extern.TextParser {
|
|
1853
1853
|
private noStructuralTyping_shaka_text_Mp4VttParser : any;
|
|
@@ -1855,7 +1855,7 @@ declare namespace shaka.text {
|
|
|
1855
1855
|
parseMedia (data : any , time : any ) : any ;
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
|
-
// Generated from /
|
|
1858
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1859
1859
|
declare namespace shaka.text {
|
|
1860
1860
|
class SbvTextParser implements shaka.extern.TextParser {
|
|
1861
1861
|
private noStructuralTyping_shaka_text_SbvTextParser : any;
|
|
@@ -1863,7 +1863,7 @@ declare namespace shaka.text {
|
|
|
1863
1863
|
parseMedia (data : any , time : any ) : any ;
|
|
1864
1864
|
}
|
|
1865
1865
|
}
|
|
1866
|
-
// Generated from /
|
|
1866
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1867
1867
|
declare namespace shaka.text {
|
|
1868
1868
|
/**
|
|
1869
1869
|
* A text displayer plugin using the browser's native VTTCue interface.
|
|
@@ -1881,7 +1881,7 @@ declare namespace shaka.text {
|
|
|
1881
1881
|
setTextVisibility (on : any ) : any ;
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
1884
|
-
// Generated from /
|
|
1884
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1885
1885
|
declare namespace shaka.text {
|
|
1886
1886
|
class SrtTextParser implements shaka.extern.TextParser {
|
|
1887
1887
|
private noStructuralTyping_shaka_text_SrtTextParser : any;
|
|
@@ -1893,7 +1893,7 @@ declare namespace shaka.text {
|
|
|
1893
1893
|
static srt2webvtt (data : string ) : string ;
|
|
1894
1894
|
}
|
|
1895
1895
|
}
|
|
1896
|
-
// Generated from /
|
|
1896
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1897
1897
|
declare namespace shaka.text {
|
|
1898
1898
|
/**
|
|
1899
1899
|
* Documentation: http://moodub.free.fr/video/ass-specs.doc
|
|
@@ -1905,7 +1905,7 @@ declare namespace shaka.text {
|
|
|
1905
1905
|
parseMedia (data : any , time : any ) : any ;
|
|
1906
1906
|
}
|
|
1907
1907
|
}
|
|
1908
|
-
// Generated from /
|
|
1908
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1909
1909
|
declare namespace shaka.text {
|
|
1910
1910
|
class TextEngine implements shaka.util.IDestroyable {
|
|
1911
1911
|
private noStructuralTyping_shaka_text_TextEngine : any;
|
|
@@ -1916,7 +1916,7 @@ declare namespace shaka.text {
|
|
|
1916
1916
|
static unregisterParser (mimeType : string ) : any ;
|
|
1917
1917
|
}
|
|
1918
1918
|
}
|
|
1919
|
-
// Generated from /
|
|
1919
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1920
1920
|
declare namespace shaka.text {
|
|
1921
1921
|
class TtmlTextParser implements shaka.extern.TextParser {
|
|
1922
1922
|
private noStructuralTyping_shaka_text_TtmlTextParser : any;
|
|
@@ -1924,7 +1924,7 @@ declare namespace shaka.text {
|
|
|
1924
1924
|
parseMedia (data : any , time : any ) : any ;
|
|
1925
1925
|
}
|
|
1926
1926
|
}
|
|
1927
|
-
// Generated from /
|
|
1927
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1928
1928
|
declare namespace shaka.text {
|
|
1929
1929
|
/**
|
|
1930
1930
|
* The text displayer plugin for the Shaka Player UI. Can also be used directly
|
|
@@ -1944,7 +1944,7 @@ declare namespace shaka.text {
|
|
|
1944
1944
|
setTextVisibility (on : any ) : any ;
|
|
1945
1945
|
}
|
|
1946
1946
|
}
|
|
1947
|
-
// Generated from /
|
|
1947
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1948
1948
|
declare namespace shaka.text {
|
|
1949
1949
|
class VttTextParser implements shaka.extern.TextParser {
|
|
1950
1950
|
private noStructuralTyping_shaka_text_VttTextParser : any;
|
|
@@ -1952,13 +1952,13 @@ declare namespace shaka.text {
|
|
|
1952
1952
|
parseMedia (data : any , time : any ) : any ;
|
|
1953
1953
|
}
|
|
1954
1954
|
}
|
|
1955
|
-
// Generated from /
|
|
1955
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1956
1956
|
declare namespace shaka.text {
|
|
1957
1957
|
class WebVttGenerator {
|
|
1958
1958
|
private noStructuralTyping_shaka_text_WebVttGenerator : any;
|
|
1959
1959
|
}
|
|
1960
1960
|
}
|
|
1961
|
-
// Generated from /
|
|
1961
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1962
1962
|
declare namespace shaka.util {
|
|
1963
1963
|
/**
|
|
1964
1964
|
* A utility to wrap abortable operations. Note that these are not cancelable.
|
|
@@ -1984,7 +1984,7 @@ declare namespace shaka.util {
|
|
|
1984
1984
|
static notAbortable < U > (promise : Promise < U > ) : shaka.util.AbortableOperation < U > ;
|
|
1985
1985
|
}
|
|
1986
1986
|
}
|
|
1987
|
-
// Generated from /
|
|
1987
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
1988
1988
|
declare namespace shaka.util {
|
|
1989
1989
|
class BufferUtils {
|
|
1990
1990
|
private noStructuralTyping_shaka_util_BufferUtils : any;
|
|
@@ -2014,7 +2014,7 @@ declare namespace shaka.util {
|
|
|
2014
2014
|
static toUint8 (data : ArrayBuffer | ArrayBufferView , offset ? : number , length ? : number ) : Uint8Array ;
|
|
2015
2015
|
}
|
|
2016
2016
|
}
|
|
2017
|
-
// Generated from /
|
|
2017
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2018
2018
|
declare namespace shaka.util {
|
|
2019
2019
|
class ConfigUtils {
|
|
2020
2020
|
private noStructuralTyping_shaka_util_ConfigUtils : any;
|
|
@@ -2027,7 +2027,7 @@ declare namespace shaka.util {
|
|
|
2027
2027
|
static mergeConfigObjects (destination : object , source : object , template : object , overrides : object , path : string ) : boolean ;
|
|
2028
2028
|
}
|
|
2029
2029
|
}
|
|
2030
|
-
// Generated from /
|
|
2030
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2031
2031
|
declare namespace shaka.util {
|
|
2032
2032
|
class DataViewReader {
|
|
2033
2033
|
private noStructuralTyping_shaka_util_DataViewReader : any;
|
|
@@ -2088,7 +2088,7 @@ declare namespace shaka.util {
|
|
|
2088
2088
|
skip (bytes : number ) : any ;
|
|
2089
2089
|
}
|
|
2090
2090
|
}
|
|
2091
|
-
// Generated from /
|
|
2091
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2092
2092
|
declare namespace shaka.util.DataViewReader {
|
|
2093
2093
|
/**
|
|
2094
2094
|
* Endianness.
|
|
@@ -2101,7 +2101,7 @@ declare namespace shaka.util.DataViewReader {
|
|
|
2101
2101
|
LITTLE_ENDIAN = 1.0 ,
|
|
2102
2102
|
}
|
|
2103
2103
|
}
|
|
2104
|
-
// Generated from /
|
|
2104
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2105
2105
|
declare namespace shaka.util {
|
|
2106
2106
|
class Dom {
|
|
2107
2107
|
private noStructuralTyping_shaka_util_Dom : any;
|
|
@@ -2111,7 +2111,7 @@ declare namespace shaka.util {
|
|
|
2111
2111
|
static removeAllChildren (element : Element ) : any ;
|
|
2112
2112
|
}
|
|
2113
2113
|
}
|
|
2114
|
-
// Generated from /
|
|
2114
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2115
2115
|
declare namespace shaka.util {
|
|
2116
2116
|
class Error extends GlobalError implements shaka.extern.Error {
|
|
2117
2117
|
private noStructuralTyping_shaka_util_Error : any;
|
|
@@ -2123,7 +2123,7 @@ declare namespace shaka.util {
|
|
|
2123
2123
|
severity : any ;
|
|
2124
2124
|
}
|
|
2125
2125
|
}
|
|
2126
|
-
// Generated from /
|
|
2126
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2127
2127
|
declare namespace shaka.util.Error {
|
|
2128
2128
|
enum Category {
|
|
2129
2129
|
ADS = 10.0 ,
|
|
@@ -2138,7 +2138,7 @@ declare namespace shaka.util.Error {
|
|
|
2138
2138
|
TEXT = 2.0 ,
|
|
2139
2139
|
}
|
|
2140
2140
|
}
|
|
2141
|
-
// Generated from /
|
|
2141
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2142
2142
|
declare namespace shaka.util.Error {
|
|
2143
2143
|
enum Code {
|
|
2144
2144
|
ALREADY_CASTING = 8002.0 ,
|
|
@@ -2153,6 +2153,7 @@ declare namespace shaka.util.Error {
|
|
|
2153
2153
|
CAST_CANCELED_BY_USER = 8004.0 ,
|
|
2154
2154
|
CAST_CONNECTION_TIMED_OUT = 8005.0 ,
|
|
2155
2155
|
CAST_RECEIVER_APP_UNAVAILABLE = 8006.0 ,
|
|
2156
|
+
CHAPTERS_TRACK_FAILED = 2015.0 ,
|
|
2156
2157
|
CONTENT_NOT_LOADED = 7004.0 ,
|
|
2157
2158
|
CONTENT_TRANSFORMATION_FAILED = 3019.0 ,
|
|
2158
2159
|
CONTENT_UNSUPPORTED_BY_BROWSER = 4032.0 ,
|
|
@@ -2266,14 +2267,14 @@ declare namespace shaka.util.Error {
|
|
|
2266
2267
|
WEBM_SEGMENT_ELEMENT_MISSING = 3009.0 ,
|
|
2267
2268
|
}
|
|
2268
2269
|
}
|
|
2269
|
-
// Generated from /
|
|
2270
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2270
2271
|
declare namespace shaka.util.Error {
|
|
2271
2272
|
enum Severity {
|
|
2272
2273
|
CRITICAL = 2.0 ,
|
|
2273
2274
|
RECOVERABLE = 1.0 ,
|
|
2274
2275
|
}
|
|
2275
2276
|
}
|
|
2276
|
-
// Generated from /
|
|
2277
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2277
2278
|
declare namespace shaka.util {
|
|
2278
2279
|
class EventManager implements shaka.util.IReleasable {
|
|
2279
2280
|
private noStructuralTyping_shaka_util_EventManager : any;
|
|
@@ -2311,11 +2312,11 @@ declare namespace shaka.util {
|
|
|
2311
2312
|
unlisten (target : EventTarget | null , type : string , listener ? : shaka.util.EventManager.ListenerType ) : any ;
|
|
2312
2313
|
}
|
|
2313
2314
|
}
|
|
2314
|
-
// Generated from /
|
|
2315
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2315
2316
|
declare namespace shaka.util.EventManager {
|
|
2316
2317
|
type ListenerType = (a : Event ) => any ;
|
|
2317
2318
|
}
|
|
2318
|
-
// Generated from /
|
|
2319
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2319
2320
|
declare namespace shaka.util {
|
|
2320
2321
|
class FairPlayUtils {
|
|
2321
2322
|
private noStructuralTyping_shaka_util_FairPlayUtils : any;
|
|
@@ -2339,14 +2340,14 @@ declare namespace shaka.util {
|
|
|
2339
2340
|
static initDataTransform (initData : ArrayBuffer | ArrayBufferView , contentId : ArrayBuffer | ArrayBufferView | string , cert : ArrayBuffer | ArrayBufferView | null ) : Uint8Array ;
|
|
2340
2341
|
}
|
|
2341
2342
|
}
|
|
2342
|
-
// Generated from /
|
|
2343
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2343
2344
|
declare namespace shaka.util {
|
|
2344
2345
|
class FakeEvent extends Event {
|
|
2345
2346
|
private noStructuralTyping_shaka_util_FakeEvent : any;
|
|
2346
2347
|
constructor (type : string , dict ? : Map < string , object | null > | null ) ;
|
|
2347
2348
|
}
|
|
2348
2349
|
}
|
|
2349
|
-
// Generated from /
|
|
2350
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2350
2351
|
declare namespace shaka.util {
|
|
2351
2352
|
class FakeEventTarget implements EventTarget , shaka.util.IReleasable {
|
|
2352
2353
|
private noStructuralTyping_shaka_util_FakeEventTarget : any;
|
|
@@ -2378,14 +2379,14 @@ declare namespace shaka.util {
|
|
|
2378
2379
|
removeEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , options ? : EventListenerOptions | null | boolean ) : any ;
|
|
2379
2380
|
}
|
|
2380
2381
|
}
|
|
2381
|
-
// Generated from /
|
|
2382
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2382
2383
|
declare namespace shaka.util.FakeEventTarget {
|
|
2383
2384
|
/**
|
|
2384
2385
|
* These are the listener types defined in the closure extern for EventTarget.
|
|
2385
2386
|
*/
|
|
2386
2387
|
type ListenerType = EventListener | null | ( (a : Event ) => any ) ;
|
|
2387
2388
|
}
|
|
2388
|
-
// Generated from /
|
|
2389
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2389
2390
|
declare namespace shaka.util {
|
|
2390
2391
|
/**
|
|
2391
2392
|
* An interface to standardize how objects are destroyed.
|
|
@@ -2399,7 +2400,7 @@ declare namespace shaka.util {
|
|
|
2399
2400
|
destroy ( ) : Promise < any > ;
|
|
2400
2401
|
}
|
|
2401
2402
|
}
|
|
2402
|
-
// Generated from /
|
|
2403
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2403
2404
|
declare namespace shaka.util {
|
|
2404
2405
|
/**
|
|
2405
2406
|
* An interface to standardize how objects release internal references
|
|
@@ -2413,7 +2414,7 @@ declare namespace shaka.util {
|
|
|
2413
2414
|
release ( ) : any ;
|
|
2414
2415
|
}
|
|
2415
2416
|
}
|
|
2416
|
-
// Generated from /
|
|
2417
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2417
2418
|
declare namespace shaka.util {
|
|
2418
2419
|
class Mp4Parser {
|
|
2419
2420
|
private noStructuralTyping_shaka_util_Mp4Parser : any;
|
|
@@ -2473,11 +2474,11 @@ declare namespace shaka.util {
|
|
|
2473
2474
|
static typeToString (type : number ) : string ;
|
|
2474
2475
|
}
|
|
2475
2476
|
}
|
|
2476
|
-
// Generated from /
|
|
2477
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2477
2478
|
declare namespace shaka.util.Mp4Parser {
|
|
2478
2479
|
type CallbackType = (a : shaka.extern.ParsedBox ) => any ;
|
|
2479
2480
|
}
|
|
2480
|
-
// Generated from /
|
|
2481
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2481
2482
|
declare namespace shaka.util {
|
|
2482
2483
|
class PlayerConfiguration {
|
|
2483
2484
|
private noStructuralTyping_shaka_util_PlayerConfiguration : any;
|
|
@@ -2488,7 +2489,7 @@ declare namespace shaka.util {
|
|
|
2488
2489
|
static mergeConfigObjects (destination : shaka.extern.PlayerConfiguration , updates : object , template ? : shaka.extern.PlayerConfiguration ) : boolean ;
|
|
2489
2490
|
}
|
|
2490
2491
|
}
|
|
2491
|
-
// Generated from /
|
|
2492
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2492
2493
|
declare namespace shaka.util {
|
|
2493
2494
|
class StringUtils {
|
|
2494
2495
|
private noStructuralTyping_shaka_util_StringUtils : any;
|
|
@@ -2522,7 +2523,7 @@ declare namespace shaka.util {
|
|
|
2522
2523
|
static toUTF8 (str : string ) : ArrayBuffer ;
|
|
2523
2524
|
}
|
|
2524
2525
|
}
|
|
2525
|
-
// Generated from /
|
|
2526
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2526
2527
|
declare namespace shaka.util {
|
|
2527
2528
|
/**
|
|
2528
2529
|
* A timer allows a single function to be executed at a later time or at
|
|
@@ -2551,7 +2552,7 @@ declare namespace shaka.util {
|
|
|
2551
2552
|
tickNow ( ) : shaka.util.Timer ;
|
|
2552
2553
|
}
|
|
2553
2554
|
}
|
|
2554
|
-
// Generated from /
|
|
2555
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.externs.js
|
|
2555
2556
|
declare namespace shaka.util {
|
|
2556
2557
|
class Uint8ArrayUtils {
|
|
2557
2558
|
private noStructuralTyping_shaka_util_Uint8ArrayUtils : any;
|
|
@@ -2589,7 +2590,7 @@ declare namespace shaka.util {
|
|
|
2589
2590
|
static toStandardBase64 (data : ArrayBuffer | ArrayBufferView ) : string ;
|
|
2590
2591
|
}
|
|
2591
2592
|
}
|
|
2592
|
-
// Generated from /
|
|
2593
|
+
// Generated from /home/joey/hacking/work/clean/externs/airplay.js
|
|
2593
2594
|
declare namespace ಠ_ಠ.clutz {
|
|
2594
2595
|
class AirPlayEvent extends Event {
|
|
2595
2596
|
private noStructuralTyping_AirPlayEvent : any;
|
|
@@ -2597,7 +2598,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
2597
2598
|
availability : String | null ;
|
|
2598
2599
|
}
|
|
2599
2600
|
}
|
|
2600
|
-
// Generated from /
|
|
2601
|
+
// Generated from /home/joey/hacking/work/clean/externs/awesomplete.js
|
|
2601
2602
|
declare namespace ಠ_ಠ.clutz {
|
|
2602
2603
|
class Awesomplete {
|
|
2603
2604
|
private noStructuralTyping_Awesomplete : any;
|
|
@@ -2607,18 +2608,18 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
2607
2608
|
evaluate ( ) : any ;
|
|
2608
2609
|
}
|
|
2609
2610
|
}
|
|
2610
|
-
// Generated from /
|
|
2611
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2611
2612
|
declare namespace ಠ_ಠ.clutz {
|
|
2612
2613
|
function __onGCastApiAvailable (a : boolean ) : any ;
|
|
2613
2614
|
}
|
|
2614
|
-
// Generated from /
|
|
2615
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2615
2616
|
declare namespace cast.receiver {
|
|
2616
2617
|
class CastChannel {
|
|
2617
2618
|
private noStructuralTyping_cast_receiver_CastChannel : any;
|
|
2618
2619
|
send (message : any ) : any ;
|
|
2619
2620
|
}
|
|
2620
2621
|
}
|
|
2621
|
-
// Generated from /
|
|
2622
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2622
2623
|
declare namespace cast.receiver {
|
|
2623
2624
|
class CastMessageBus {
|
|
2624
2625
|
private noStructuralTyping_cast_receiver_CastMessageBus : any;
|
|
@@ -2627,7 +2628,7 @@ declare namespace cast.receiver {
|
|
|
2627
2628
|
onMessage : Function | null ;
|
|
2628
2629
|
}
|
|
2629
2630
|
}
|
|
2630
|
-
// Generated from /
|
|
2631
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2631
2632
|
declare namespace cast.receiver.CastMessageBus {
|
|
2632
2633
|
class Event {
|
|
2633
2634
|
private noStructuralTyping_cast_receiver_CastMessageBus_Event : any;
|
|
@@ -2635,7 +2636,7 @@ declare namespace cast.receiver.CastMessageBus {
|
|
|
2635
2636
|
senderId : string ;
|
|
2636
2637
|
}
|
|
2637
2638
|
}
|
|
2638
|
-
// Generated from /
|
|
2639
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2639
2640
|
declare namespace cast.receiver {
|
|
2640
2641
|
class CastReceiverManager {
|
|
2641
2642
|
private noStructuralTyping_cast_receiver_CastReceiverManager : any;
|
|
@@ -2653,7 +2654,7 @@ declare namespace cast.receiver {
|
|
|
2653
2654
|
static getInstance ( ) : cast.receiver.CastReceiverManager | null ;
|
|
2654
2655
|
}
|
|
2655
2656
|
}
|
|
2656
|
-
// Generated from /
|
|
2657
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2657
2658
|
declare namespace cast.receiver.media {
|
|
2658
2659
|
enum MetadataType {
|
|
2659
2660
|
GENERIC = 0.0 ,
|
|
@@ -2663,7 +2664,7 @@ declare namespace cast.receiver.media {
|
|
|
2663
2664
|
TV_SHOW = 2.0 ,
|
|
2664
2665
|
}
|
|
2665
2666
|
}
|
|
2666
|
-
// Generated from /
|
|
2667
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2667
2668
|
declare namespace cast.receiver.system {
|
|
2668
2669
|
class SystemVolumeData {
|
|
2669
2670
|
private noStructuralTyping_cast_receiver_system_SystemVolumeData : any;
|
|
@@ -2671,14 +2672,14 @@ declare namespace cast.receiver.system {
|
|
|
2671
2672
|
muted : boolean ;
|
|
2672
2673
|
}
|
|
2673
2674
|
}
|
|
2674
|
-
// Generated from /
|
|
2675
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2675
2676
|
declare namespace chrome.cast {
|
|
2676
2677
|
class ApiConfig {
|
|
2677
2678
|
private noStructuralTyping_chrome_cast_ApiConfig : any;
|
|
2678
2679
|
constructor (sessionRequest : chrome.cast.SessionRequest | null , sessionListener : Function | null , receiverListener : Function | null , autoJoinPolicy ? : string , defaultActionPolicy ? : string ) ;
|
|
2679
2680
|
}
|
|
2680
2681
|
}
|
|
2681
|
-
// Generated from /
|
|
2682
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2682
2683
|
declare namespace chrome.cast {
|
|
2683
2684
|
class Error {
|
|
2684
2685
|
private noStructuralTyping_chrome_cast_Error : any;
|
|
@@ -2688,14 +2689,14 @@ declare namespace chrome.cast {
|
|
|
2688
2689
|
details : object | null ;
|
|
2689
2690
|
}
|
|
2690
2691
|
}
|
|
2691
|
-
// Generated from /
|
|
2692
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2692
2693
|
declare namespace chrome.cast {
|
|
2693
2694
|
class Receiver {
|
|
2694
2695
|
private noStructuralTyping_chrome_cast_Receiver : any;
|
|
2695
2696
|
friendlyName : string ;
|
|
2696
2697
|
}
|
|
2697
2698
|
}
|
|
2698
|
-
// Generated from /
|
|
2699
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2699
2700
|
declare namespace chrome.cast {
|
|
2700
2701
|
class Session {
|
|
2701
2702
|
private noStructuralTyping_chrome_cast_Session : any;
|
|
@@ -2711,28 +2712,28 @@ declare namespace chrome.cast {
|
|
|
2711
2712
|
stop (successCallback : Function | null , errorCallback : Function | null ) : any ;
|
|
2712
2713
|
}
|
|
2713
2714
|
}
|
|
2714
|
-
// Generated from /
|
|
2715
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2715
2716
|
declare namespace chrome.cast {
|
|
2716
2717
|
class SessionRequest {
|
|
2717
2718
|
private noStructuralTyping_chrome_cast_SessionRequest : any;
|
|
2718
2719
|
constructor (appId : string ) ;
|
|
2719
2720
|
}
|
|
2720
2721
|
}
|
|
2721
|
-
// Generated from /
|
|
2722
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2722
2723
|
declare namespace chrome.cast.SessionStatus {
|
|
2723
2724
|
let STOPPED : string ;
|
|
2724
2725
|
}
|
|
2725
|
-
// Generated from /
|
|
2726
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2726
2727
|
declare namespace chrome.cast {
|
|
2727
2728
|
let isAvailable : boolean ;
|
|
2728
2729
|
}
|
|
2729
|
-
// Generated from /
|
|
2730
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2730
2731
|
declare namespace google.ima.AdErrorEvent {
|
|
2731
2732
|
enum Type {
|
|
2732
2733
|
AD_ERROR = 'AD_ERROR' ,
|
|
2733
2734
|
}
|
|
2734
2735
|
}
|
|
2735
|
-
// Generated from /
|
|
2736
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2736
2737
|
declare namespace google.ima.AdEvent {
|
|
2737
2738
|
enum Type {
|
|
2738
2739
|
AD_BREAK_READY = 'AD_BREAK_READY' ,
|
|
@@ -2764,7 +2765,7 @@ declare namespace google.ima.AdEvent {
|
|
|
2764
2765
|
VOLUME_MUTED = 'VOLUME_MUTED' ,
|
|
2765
2766
|
}
|
|
2766
2767
|
}
|
|
2767
|
-
// Generated from /
|
|
2768
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2768
2769
|
declare namespace google.ima {
|
|
2769
2770
|
class AdsLoader implements EventTarget {
|
|
2770
2771
|
private noStructuralTyping_google_ima_AdsLoader : any;
|
|
@@ -2778,7 +2779,7 @@ declare namespace google.ima {
|
|
|
2778
2779
|
requestAds (request : google.ima.AdsRequest ) : any ;
|
|
2779
2780
|
}
|
|
2780
2781
|
}
|
|
2781
|
-
// Generated from /
|
|
2782
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2782
2783
|
declare namespace google.ima {
|
|
2783
2784
|
class AdsManager implements EventTarget {
|
|
2784
2785
|
private noStructuralTyping_google_ima_AdsManager : any;
|
|
@@ -2800,17 +2801,17 @@ declare namespace google.ima {
|
|
|
2800
2801
|
stop ( ) : any ;
|
|
2801
2802
|
}
|
|
2802
2803
|
}
|
|
2803
|
-
// Generated from /
|
|
2804
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2804
2805
|
declare namespace google.ima.AdsManagerLoadedEvent {
|
|
2805
2806
|
enum Type {
|
|
2806
2807
|
ADS_MANAGER_LOADED = 'ADS_MANAGER_LOADED' ,
|
|
2807
2808
|
}
|
|
2808
2809
|
}
|
|
2809
|
-
// Generated from /
|
|
2810
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2810
2811
|
declare namespace google.ima {
|
|
2811
2812
|
type AdsRequest = { adTagUrl ? : string , adsResponse ? : string } ;
|
|
2812
2813
|
}
|
|
2813
|
-
// Generated from /
|
|
2814
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2814
2815
|
declare namespace google.ima.ImaSdkSettings {
|
|
2815
2816
|
enum VpaidMode {
|
|
2816
2817
|
DISABLED = 0.0 ,
|
|
@@ -2818,14 +2819,14 @@ declare namespace google.ima.ImaSdkSettings {
|
|
|
2818
2819
|
INSECURE = 2.0 ,
|
|
2819
2820
|
}
|
|
2820
2821
|
}
|
|
2821
|
-
// Generated from /
|
|
2822
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2822
2823
|
declare namespace google.ima {
|
|
2823
2824
|
enum ViewMode {
|
|
2824
2825
|
FULLSCREEN = 'FULLSCREEN' ,
|
|
2825
2826
|
NORMAL = 'NORMAL' ,
|
|
2826
2827
|
}
|
|
2827
2828
|
}
|
|
2828
|
-
// Generated from /
|
|
2829
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2829
2830
|
declare namespace google.ima.dai.api.StreamEvent {
|
|
2830
2831
|
enum Type {
|
|
2831
2832
|
AD_BREAK_ENDED = 'adBreakEnded' ,
|
|
@@ -2848,7 +2849,7 @@ declare namespace google.ima.dai.api.StreamEvent {
|
|
|
2848
2849
|
VIDEO_CLICKED = 'videoClicked' ,
|
|
2849
2850
|
}
|
|
2850
2851
|
}
|
|
2851
|
-
// Generated from /
|
|
2852
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2852
2853
|
declare namespace google.ima.dai.api {
|
|
2853
2854
|
class StreamManager implements EventTarget {
|
|
2854
2855
|
private noStructuralTyping_google_ima_dai_api_StreamManager : any;
|
|
@@ -2867,11 +2868,11 @@ declare namespace google.ima.dai.api {
|
|
|
2867
2868
|
streamTimeForContentTime (contentTime : number ) : any ;
|
|
2868
2869
|
}
|
|
2869
2870
|
}
|
|
2870
|
-
// Generated from /
|
|
2871
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2871
2872
|
declare namespace google.ima {
|
|
2872
2873
|
let settings : google.ima.ImaSdkSettings ;
|
|
2873
2874
|
}
|
|
2874
|
-
// Generated from /
|
|
2875
|
+
// Generated from /home/joey/hacking/work/clean/externs/jwk_set.js
|
|
2875
2876
|
declare namespace ಠ_ಠ.clutz {
|
|
2876
2877
|
/**
|
|
2877
2878
|
* A JSON Web Key.
|
|
@@ -2896,7 +2897,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
2896
2897
|
kty : string ;
|
|
2897
2898
|
}
|
|
2898
2899
|
}
|
|
2899
|
-
// Generated from /
|
|
2900
|
+
// Generated from /home/joey/hacking/work/clean/externs/jwk_set.js
|
|
2900
2901
|
declare namespace ಠ_ಠ.clutz {
|
|
2901
2902
|
/**
|
|
2902
2903
|
* A JSON Web Key set.
|
|
@@ -2906,7 +2907,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
2906
2907
|
keys : ( JWK | null ) [] | null ;
|
|
2907
2908
|
}
|
|
2908
2909
|
}
|
|
2909
|
-
// Generated from /
|
|
2910
|
+
// Generated from /home/joey/hacking/work/clean/externs/mdl.js
|
|
2910
2911
|
declare namespace ಠ_ಠ.clutz {
|
|
2911
2912
|
class MaterialLayout {
|
|
2912
2913
|
private noStructuralTyping_MaterialLayout : any;
|
|
@@ -2914,7 +2915,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
2914
2915
|
toggleDrawer ( ) : any ;
|
|
2915
2916
|
}
|
|
2916
2917
|
}
|
|
2917
|
-
// Generated from /
|
|
2918
|
+
// Generated from /home/joey/hacking/work/clean/externs/mediasession.js
|
|
2918
2919
|
declare namespace ಠ_ಠ.clutz {
|
|
2919
2920
|
class MediaMetadata {
|
|
2920
2921
|
private noStructuralTyping_MediaMetadata : any;
|
|
@@ -2924,14 +2925,14 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
2924
2925
|
title : string ;
|
|
2925
2926
|
}
|
|
2926
2927
|
}
|
|
2927
|
-
// Generated from /
|
|
2928
|
+
// Generated from /home/joey/hacking/work/clean/externs/mediasession.js
|
|
2928
2929
|
declare namespace ಠ_ಠ.clutz {
|
|
2929
2930
|
class MediaSession {
|
|
2930
2931
|
private noStructuralTyping_MediaSession : any;
|
|
2931
2932
|
metadata : MediaMetadata | null ;
|
|
2932
2933
|
}
|
|
2933
2934
|
}
|
|
2934
|
-
// Generated from /
|
|
2935
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
2935
2936
|
declare namespace muxjs.mp4 {
|
|
2936
2937
|
class CaptionParser {
|
|
2937
2938
|
private noStructuralTyping_muxjs_mp4_CaptionParser : any;
|
|
@@ -2964,23 +2965,23 @@ declare namespace muxjs.mp4 {
|
|
|
2964
2965
|
resetCaptionStream ( ) : any ;
|
|
2965
2966
|
}
|
|
2966
2967
|
}
|
|
2967
|
-
// Generated from /
|
|
2968
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
2968
2969
|
declare namespace muxjs.mp4 {
|
|
2969
2970
|
type ClosedCaption = { endPts : number , endTime : number , startPts : number , startTime : number , stream : string , text : string } ;
|
|
2970
2971
|
}
|
|
2971
|
-
// Generated from /
|
|
2972
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
2972
2973
|
declare namespace muxjs.mp4 {
|
|
2973
2974
|
type Metadata = { cueTime : number , data : Uint8Array , dispatchType : string , dts : number , frames : muxjs.mp4.MetadataFrame [] , pts : number } ;
|
|
2974
2975
|
}
|
|
2975
|
-
// Generated from /
|
|
2976
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
2976
2977
|
declare namespace muxjs.mp4 {
|
|
2977
2978
|
type MetadataFrame = { data : string , description : string , id : string , key : string , value : string } ;
|
|
2978
2979
|
}
|
|
2979
|
-
// Generated from /
|
|
2980
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
2980
2981
|
declare namespace muxjs.mp4 {
|
|
2981
2982
|
type ParsedClosedCaptions = { captionStreams : { [ key: string ]: boolean } | null , captions : muxjs.mp4.ClosedCaption [] } ;
|
|
2982
2983
|
}
|
|
2983
|
-
// Generated from /
|
|
2984
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
2984
2985
|
declare namespace muxjs.mp4 {
|
|
2985
2986
|
class Transmuxer {
|
|
2986
2987
|
private noStructuralTyping_muxjs_mp4_Transmuxer : any;
|
|
@@ -3006,11 +3007,11 @@ declare namespace muxjs.mp4 {
|
|
|
3006
3007
|
setBaseMediaDecodeTime (time : number ) : any ;
|
|
3007
3008
|
}
|
|
3008
3009
|
}
|
|
3009
|
-
// Generated from /
|
|
3010
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
3010
3011
|
declare namespace muxjs.mp4.Transmuxer {
|
|
3011
3012
|
type Segment = { captions : any [] , data : Uint8Array , initSegment : Uint8Array , metadata : any [] } ;
|
|
3012
3013
|
}
|
|
3013
|
-
// Generated from /
|
|
3014
|
+
// Generated from /home/joey/hacking/work/clean/externs/prefixed_eme.js
|
|
3014
3015
|
declare namespace ಠ_ಠ.clutz {
|
|
3015
3016
|
class MediaKeyError {
|
|
3016
3017
|
private noStructuralTyping_MediaKeyError : any;
|
|
@@ -3018,7 +3019,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3018
3019
|
systemCode : number ;
|
|
3019
3020
|
}
|
|
3020
3021
|
}
|
|
3021
|
-
// Generated from /
|
|
3022
|
+
// Generated from /home/joey/hacking/work/clean/externs/prefixed_eme.js
|
|
3022
3023
|
declare namespace ಠ_ಠ.clutz {
|
|
3023
3024
|
class MediaKeyEvent extends Event {
|
|
3024
3025
|
private noStructuralTyping_MediaKeyEvent : any;
|
|
@@ -3033,7 +3034,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3033
3034
|
target : HTMLMediaElement ;
|
|
3034
3035
|
}
|
|
3035
3036
|
}
|
|
3036
|
-
// Generated from /
|
|
3037
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/abortable.js
|
|
3037
3038
|
declare namespace shaka.extern {
|
|
3038
3039
|
/**
|
|
3039
3040
|
* A representation of an abortable operation. Note that these are not
|
|
@@ -3059,7 +3060,7 @@ declare namespace shaka.extern {
|
|
|
3059
3060
|
promise : Promise < T > ;
|
|
3060
3061
|
}
|
|
3061
3062
|
}
|
|
3062
|
-
// Generated from /
|
|
3063
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/abr_manager.js
|
|
3063
3064
|
declare namespace shaka.extern {
|
|
3064
3065
|
/**
|
|
3065
3066
|
* An object which selects Streams from a set of possible choices. This also
|
|
@@ -3126,14 +3127,14 @@ declare namespace shaka.extern {
|
|
|
3126
3127
|
stop ( ) : any ;
|
|
3127
3128
|
}
|
|
3128
3129
|
}
|
|
3129
|
-
// Generated from /
|
|
3130
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/abr_manager.js
|
|
3130
3131
|
declare namespace shaka.extern.AbrManager {
|
|
3131
3132
|
/**
|
|
3132
3133
|
* A factory for creating the abr manager.
|
|
3133
3134
|
*/
|
|
3134
3135
|
type Factory = ( ) => shaka.extern.AbrManager ;
|
|
3135
3136
|
}
|
|
3136
|
-
// Generated from /
|
|
3137
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/abr_manager.js
|
|
3137
3138
|
declare namespace shaka.extern.AbrManager {
|
|
3138
3139
|
/**
|
|
3139
3140
|
* A callback into the Player that should be called when the AbrManager decides
|
|
@@ -3152,15 +3153,15 @@ declare namespace shaka.extern.AbrManager {
|
|
|
3152
3153
|
*/
|
|
3153
3154
|
type SwitchCallback = (a : shaka.extern.Variant , b ? : boolean , c ? : number ) => any ;
|
|
3154
3155
|
}
|
|
3155
|
-
// Generated from /
|
|
3156
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/ads.js
|
|
3156
3157
|
declare namespace shaka.extern {
|
|
3157
3158
|
type AdCuePoint = { end : number | null , start : number } ;
|
|
3158
3159
|
}
|
|
3159
|
-
// Generated from /
|
|
3160
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/ads.js
|
|
3160
3161
|
declare namespace shaka.extern {
|
|
3161
3162
|
type AdsStats = { loadTimes : number [] , playedCompletely : number , skipped : number , started : number } ;
|
|
3162
3163
|
}
|
|
3163
|
-
// Generated from /
|
|
3164
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/ads.js
|
|
3164
3165
|
declare namespace shaka.extern {
|
|
3165
3166
|
/**
|
|
3166
3167
|
* Interface for Ad objects.
|
|
@@ -3189,7 +3190,7 @@ declare namespace shaka.extern {
|
|
|
3189
3190
|
skip ( ) : any ;
|
|
3190
3191
|
}
|
|
3191
3192
|
}
|
|
3192
|
-
// Generated from /
|
|
3193
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/ads.js
|
|
3193
3194
|
declare namespace shaka.extern {
|
|
3194
3195
|
/**
|
|
3195
3196
|
* An object that's responsible for all the ad-related logic
|
|
@@ -3215,14 +3216,14 @@ declare namespace shaka.extern {
|
|
|
3215
3216
|
setLocale (locale : string ) : any ;
|
|
3216
3217
|
}
|
|
3217
3218
|
}
|
|
3218
|
-
// Generated from /
|
|
3219
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/ads.js
|
|
3219
3220
|
declare namespace shaka.extern.IAdManager {
|
|
3220
3221
|
/**
|
|
3221
3222
|
* A factory for creating the ad manager.
|
|
3222
3223
|
*/
|
|
3223
3224
|
type Factory = ( ) => shaka.extern.IAdManager ;
|
|
3224
3225
|
}
|
|
3225
|
-
// Generated from /
|
|
3226
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/error.js
|
|
3226
3227
|
declare namespace shaka.extern {
|
|
3227
3228
|
interface Error {
|
|
3228
3229
|
category : shaka.util.Error.Category ;
|
|
@@ -3232,11 +3233,11 @@ declare namespace shaka.extern {
|
|
|
3232
3233
|
severity : shaka.util.Error.Severity ;
|
|
3233
3234
|
}
|
|
3234
3235
|
}
|
|
3235
|
-
// Generated from /
|
|
3236
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/error.js
|
|
3236
3237
|
declare namespace shaka.extern {
|
|
3237
3238
|
type RestrictionInfo = { hasAppRestrictions : boolean , missingKeys : string [] , restrictedKeyStatuses : string [] } ;
|
|
3238
3239
|
}
|
|
3239
|
-
// Generated from /
|
|
3240
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3240
3241
|
declare namespace shaka.extern {
|
|
3241
3242
|
/**
|
|
3242
3243
|
* Creates a SegmentIndex; returns a Promise that resolves after the
|
|
@@ -3244,27 +3245,27 @@ declare namespace shaka.extern {
|
|
|
3244
3245
|
*/
|
|
3245
3246
|
type CreateSegmentIndexFunction = ( ) => Promise < any > ;
|
|
3246
3247
|
}
|
|
3247
|
-
// Generated from /
|
|
3248
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3248
3249
|
declare namespace shaka.extern {
|
|
3249
3250
|
type DrmInfo = { audioRobustness : string , distinctiveIdentifierRequired : boolean , initData : shaka.extern.InitDataOverride [] | null , keyIds : Set < string > | null , keySystem : string , licenseServerUri : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
|
|
3250
3251
|
}
|
|
3251
|
-
// Generated from /
|
|
3252
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3252
3253
|
declare namespace shaka.extern {
|
|
3253
3254
|
type InitDataOverride = { initData : Uint8Array , initDataType : string , keyId : string | null } ;
|
|
3254
3255
|
}
|
|
3255
|
-
// Generated from /
|
|
3256
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3256
3257
|
declare namespace shaka.extern {
|
|
3257
3258
|
type Manifest = { imageStreams : shaka.extern.Stream [] , minBufferTime : number , offlineSessionIds : string [] , presentationTimeline : shaka.media.PresentationTimeline , textStreams : shaka.extern.Stream [] , variants : shaka.extern.Variant [] } ;
|
|
3258
3259
|
}
|
|
3259
|
-
// Generated from /
|
|
3260
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3260
3261
|
declare namespace shaka.extern {
|
|
3261
3262
|
type Stream = { audioSamplingRate : number | null , bandwidth ? : number , channelsCount : number | null , closedCaptions : Map < string , string > | null , codecs : string , createSegmentIndex : shaka.extern.CreateSegmentIndexFunction , drmInfos : shaka.extern.DrmInfo [] , emsgSchemeIdUris : string [] | null , encrypted : boolean , forced : boolean , frameRate ? : number , hdr ? : string , height ? : number , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , mimeType : string , originalId : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segmentIndex : shaka.media.SegmentIndex | null , spatialAudio : boolean , tilesLayout ? : string , trickModeVideo : any , type : string , width ? : number } ;
|
|
3262
3263
|
}
|
|
3263
|
-
// Generated from /
|
|
3264
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3264
3265
|
declare namespace shaka.extern {
|
|
3265
3266
|
type Variant = { allowedByApplication : boolean , allowedByKeySystem : boolean , audio : shaka.extern.Stream | null , bandwidth : number , decodingInfos : ( any | null ) [] , id : number , language : string , primary : boolean , video : shaka.extern.Stream | null } ;
|
|
3266
3267
|
}
|
|
3267
|
-
// Generated from /
|
|
3268
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest_parser.js
|
|
3268
3269
|
declare namespace shaka.extern {
|
|
3269
3270
|
/**
|
|
3270
3271
|
* Parses media manifests and handles manifest updates.
|
|
@@ -3327,7 +3328,7 @@ declare namespace shaka.extern {
|
|
|
3327
3328
|
update ( ) : any ;
|
|
3328
3329
|
}
|
|
3329
3330
|
}
|
|
3330
|
-
// Generated from /
|
|
3331
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest_parser.js
|
|
3331
3332
|
declare namespace shaka.extern.ManifestParser {
|
|
3332
3333
|
/**
|
|
3333
3334
|
* A factory for creating the manifest parser. This function is registered with
|
|
@@ -3335,23 +3336,23 @@ declare namespace shaka.extern.ManifestParser {
|
|
|
3335
3336
|
*/
|
|
3336
3337
|
type Factory = ( ) => shaka.extern.ManifestParser ;
|
|
3337
3338
|
}
|
|
3338
|
-
// Generated from /
|
|
3339
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest_parser.js
|
|
3339
3340
|
declare namespace shaka.extern.ManifestParser {
|
|
3340
3341
|
type PlayerInterface = { enableLowLatencyMode : ( ) => any , filter : (a : shaka.extern.Manifest ) => Promise < any > , isAutoLowLatencyMode : ( ) => boolean , isLowLatencyMode : ( ) => boolean , makeTextStreamsForClosedCaptions : (a : shaka.extern.Manifest ) => any , networkingEngine : shaka.net.NetworkingEngine , onError : (a : shaka.util.Error ) => any , onEvent : shaka.util.EventManager.ListenerType , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any } ;
|
|
3341
3342
|
}
|
|
3342
|
-
// Generated from /
|
|
3343
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/mp4_parser.js
|
|
3343
3344
|
declare namespace shaka.extern {
|
|
3344
3345
|
type ParsedBox = { flags : number | null , has64BitSize : boolean , parser : shaka.util.Mp4Parser , partialOkay : boolean , reader : shaka.util.DataViewReader , size : number , start : number , version : number | null } ;
|
|
3345
3346
|
}
|
|
3346
|
-
// Generated from /
|
|
3347
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3347
3348
|
declare namespace shaka.extern {
|
|
3348
3349
|
type ProgressUpdated = (a : number , b : number , c : number ) => any ;
|
|
3349
3350
|
}
|
|
3350
|
-
// Generated from /
|
|
3351
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3351
3352
|
declare namespace shaka.extern {
|
|
3352
3353
|
type Request = { allowCrossSiteCredentials : boolean , body : ArrayBuffer | ArrayBufferView | null , headers : { [ key: string ]: string } , licenseRequestType : string | null , method : string , retryParameters : shaka.extern.RetryParameters , sessionId : string | null , streamDataCallback : ( (a : ArrayBuffer | ArrayBufferView ) => Promise < any > ) | null , uris : string [] } ;
|
|
3353
3354
|
}
|
|
3354
|
-
// Generated from /
|
|
3355
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3355
3356
|
declare namespace shaka.extern {
|
|
3356
3357
|
/**
|
|
3357
3358
|
* Defines a filter for requests. This filter takes the request and modifies
|
|
@@ -3361,11 +3362,11 @@ declare namespace shaka.extern {
|
|
|
3361
3362
|
*/
|
|
3362
3363
|
type RequestFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Request ) => Promise < any > | void ;
|
|
3363
3364
|
}
|
|
3364
|
-
// Generated from /
|
|
3365
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3365
3366
|
declare namespace shaka.extern {
|
|
3366
3367
|
type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , timeMs ? : number , uri : string } ;
|
|
3367
3368
|
}
|
|
3368
|
-
// Generated from /
|
|
3369
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3369
3370
|
declare namespace shaka.extern {
|
|
3370
3371
|
/**
|
|
3371
3372
|
* Defines a filter for responses. This filter takes the response and modifies
|
|
@@ -3374,19 +3375,19 @@ declare namespace shaka.extern {
|
|
|
3374
3375
|
*/
|
|
3375
3376
|
type ResponseFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Response ) => Promise < any > | void ;
|
|
3376
3377
|
}
|
|
3377
|
-
// Generated from /
|
|
3378
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3378
3379
|
declare namespace shaka.extern {
|
|
3379
3380
|
type RetryParameters = { backoffFactor : number , baseDelay : number , connectionTimeout : number , fuzzFactor : number , maxAttempts : number , stallTimeout : number , timeout : number } ;
|
|
3380
3381
|
}
|
|
3381
|
-
// Generated from /
|
|
3382
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3382
3383
|
declare namespace shaka.extern {
|
|
3383
3384
|
type SchemePlugin = (a : string , b : shaka.extern.Request , c : shaka.net.NetworkingEngine.RequestType , d : shaka.extern.ProgressUpdated ) => shaka.extern.IAbortableOperation < shaka.extern.Response > ;
|
|
3384
3385
|
}
|
|
3385
|
-
// Generated from /
|
|
3386
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3386
3387
|
declare namespace shaka.extern {
|
|
3387
3388
|
type EmeSessionDB = { audioCapabilities : { contentType : string , robustness : string } [] , keySystem : string , licenseUri : string , serverCertificate : Uint8Array | null , sessionId : string , videoCapabilities : { contentType : string , robustness : string } [] } ;
|
|
3388
3389
|
}
|
|
3389
|
-
// Generated from /
|
|
3390
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3390
3391
|
declare namespace shaka.extern {
|
|
3391
3392
|
/**
|
|
3392
3393
|
* Similar to storage cells (shaka.extern.StorageCell), an EmeSessionStorageCell
|
|
@@ -3412,23 +3413,23 @@ declare namespace shaka.extern {
|
|
|
3412
3413
|
remove (sessionIds : string [] ) : Promise < any > ;
|
|
3413
3414
|
}
|
|
3414
3415
|
}
|
|
3415
|
-
// Generated from /
|
|
3416
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3416
3417
|
declare namespace shaka.extern {
|
|
3417
3418
|
type ManifestDB = { appMetadata : object | null , creationTime : number , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , originalManifestUri : string , sessionIds : string [] , size : number , streams : shaka.extern.StreamDB [] } ;
|
|
3418
3419
|
}
|
|
3419
|
-
// Generated from /
|
|
3420
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3420
3421
|
declare namespace shaka.extern {
|
|
3421
3422
|
type OfflineSupport = { basic : boolean , encrypted : { [ key: string ]: boolean } } ;
|
|
3422
3423
|
}
|
|
3423
|
-
// Generated from /
|
|
3424
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3424
3425
|
declare namespace shaka.extern {
|
|
3425
3426
|
type SegmentDB = { appendWindowEnd : number , appendWindowStart : number , dataKey : number , endTime : number , initSegmentKey : number | null , startTime : number , tilesLayout : string | null , timestampOffset : number } ;
|
|
3426
3427
|
}
|
|
3427
|
-
// Generated from /
|
|
3428
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3428
3429
|
declare namespace shaka.extern {
|
|
3429
3430
|
type SegmentDataDB = { data : ArrayBuffer } ;
|
|
3430
3431
|
}
|
|
3431
|
-
// Generated from /
|
|
3432
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3432
3433
|
declare namespace shaka.extern {
|
|
3433
3434
|
/**
|
|
3434
3435
|
* An interface that defines access to collection of segments and manifests. All
|
|
@@ -3500,7 +3501,7 @@ declare namespace shaka.extern {
|
|
|
3500
3501
|
updateManifestExpiration (key : number , expiration : number ) : Promise < any > ;
|
|
3501
3502
|
}
|
|
3502
3503
|
}
|
|
3503
|
-
// Generated from /
|
|
3504
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3504
3505
|
declare namespace shaka.extern {
|
|
3505
3506
|
/**
|
|
3506
3507
|
* Storage mechanisms are one of two exported storage APIs. Storage mechanisms
|
|
@@ -3544,155 +3545,155 @@ declare namespace shaka.extern {
|
|
|
3544
3545
|
init ( ) : Promise < any > ;
|
|
3545
3546
|
}
|
|
3546
3547
|
}
|
|
3547
|
-
// Generated from /
|
|
3548
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3548
3549
|
declare namespace shaka.extern {
|
|
3549
3550
|
type StoredContent = { appMetadata : object | null , duration : number , expiration : number , offlineUri : string | null , originalManifestUri : string , size : number , tracks : shaka.extern.TrackList } ;
|
|
3550
3551
|
}
|
|
3551
|
-
// Generated from /
|
|
3552
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3552
3553
|
declare namespace shaka.extern {
|
|
3553
3554
|
type StreamDB = { audioSamplingRate : number | null , channelsCount : number | null , closedCaptions : Map < string , string > | null , codecs : string , encrypted : boolean , forced : boolean , frameRate ? : number , hdr ? : string , height : number | null , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , mimeType : string , originalId : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segments : shaka.extern.SegmentDB [] , spatialAudio : boolean , tilesLayout ? : string , type : string , variantIds : number [] , width : number | null } ;
|
|
3554
3555
|
}
|
|
3555
|
-
// Generated from /
|
|
3556
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v1.js
|
|
3556
3557
|
declare namespace shaka.extern {
|
|
3557
3558
|
type ManifestDBV1 = { appMetadata : object | null , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , key : number , originalManifestUri : string , periods : shaka.extern.PeriodDBV1 [] , sessionIds : string [] , size : number } ;
|
|
3558
3559
|
}
|
|
3559
|
-
// Generated from /
|
|
3560
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v1.js
|
|
3560
3561
|
declare namespace shaka.extern {
|
|
3561
3562
|
type PeriodDBV1 = { startTime : number , streams : shaka.extern.StreamDBV1 [] } ;
|
|
3562
3563
|
}
|
|
3563
|
-
// Generated from /
|
|
3564
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v1.js
|
|
3564
3565
|
declare namespace shaka.extern {
|
|
3565
3566
|
type SegmentDBV1 = { endTime : number , startTime : number , uri : string } ;
|
|
3566
3567
|
}
|
|
3567
|
-
// Generated from /
|
|
3568
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v1.js
|
|
3568
3569
|
declare namespace shaka.extern {
|
|
3569
3570
|
type SegmentDataDBV1 = { data : ArrayBuffer , key : number } ;
|
|
3570
3571
|
}
|
|
3571
|
-
// Generated from /
|
|
3572
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v1.js
|
|
3572
3573
|
declare namespace shaka.extern {
|
|
3573
3574
|
type StreamDBV1 = { codecs : string , contentType : string , encrypted : boolean , frameRate ? : number , height : number | null , id : number , initSegmentUri : string | null , keyId : string | null , kind ? : string , label : string | null , language : string , mimeType : string , presentationTimeOffset : number , primary : boolean , segments : shaka.extern.SegmentDBV1 [] , variantIds : number [] , width : number | null } ;
|
|
3574
3575
|
}
|
|
3575
|
-
// Generated from /
|
|
3576
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v2.js
|
|
3576
3577
|
declare namespace shaka.extern {
|
|
3577
3578
|
type ManifestDBV2 = { appMetadata : object | null , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , originalManifestUri : string , periods : shaka.extern.PeriodDBV2 [] , sessionIds : string [] , size : number } ;
|
|
3578
3579
|
}
|
|
3579
|
-
// Generated from /
|
|
3580
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v2.js
|
|
3580
3581
|
declare namespace shaka.extern {
|
|
3581
3582
|
type PeriodDBV2 = { startTime : number , streams : shaka.extern.StreamDBV2 [] } ;
|
|
3582
3583
|
}
|
|
3583
|
-
// Generated from /
|
|
3584
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v2.js
|
|
3584
3585
|
declare namespace shaka.extern {
|
|
3585
3586
|
type SegmentDBV2 = { dataKey : number , endTime : number , startTime : number } ;
|
|
3586
3587
|
}
|
|
3587
|
-
// Generated from /
|
|
3588
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v2.js
|
|
3588
3589
|
declare namespace shaka.extern {
|
|
3589
3590
|
type SegmentDataDBV2 = { data : ArrayBuffer } ;
|
|
3590
3591
|
}
|
|
3591
|
-
// Generated from /
|
|
3592
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v2.js
|
|
3592
3593
|
declare namespace shaka.extern {
|
|
3593
3594
|
type StreamDBV2 = { codecs : string , contentType : string , encrypted : boolean , frameRate ? : number , height : number | null , id : number , initSegmentKey : number | null , keyId : string | null , kind ? : string , label : string | null , language : string , mimeType : string , originalId : string | null , pixelAspectRatio ? : string , presentationTimeOffset : number , primary : boolean , segments : shaka.extern.SegmentDBV2 [] , variantIds : number [] , width : number | null } ;
|
|
3594
3595
|
}
|
|
3595
|
-
// Generated from /
|
|
3596
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3596
3597
|
declare namespace shaka.extern {
|
|
3597
3598
|
type AbrConfiguration = { bandwidthDowngradeTarget : number , bandwidthUpgradeTarget : number , defaultBandwidthEstimate : number , enabled : boolean , restrictions : shaka.extern.Restrictions , switchInterval : number , useNetworkInformation : boolean } ;
|
|
3598
3599
|
}
|
|
3599
|
-
// Generated from /
|
|
3600
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3600
3601
|
declare namespace shaka.extern {
|
|
3601
3602
|
type AdvancedDrmConfiguration = { audioRobustness : string , distinctiveIdentifierRequired : boolean , individualizationServer : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
|
|
3602
3603
|
}
|
|
3603
|
-
// Generated from /
|
|
3604
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3604
3605
|
declare namespace shaka.extern {
|
|
3605
3606
|
type BufferedInfo = { audio : shaka.extern.BufferedRange [] , text : shaka.extern.BufferedRange [] , total : shaka.extern.BufferedRange [] , video : shaka.extern.BufferedRange [] } ;
|
|
3606
3607
|
}
|
|
3607
|
-
// Generated from /
|
|
3608
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3608
3609
|
declare namespace shaka.extern {
|
|
3609
3610
|
type BufferedRange = { end : number , start : number } ;
|
|
3610
3611
|
}
|
|
3611
|
-
// Generated from /
|
|
3612
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3612
3613
|
declare namespace shaka.extern {
|
|
3613
3614
|
type Chapter = { endTime : number , startTime : number , title : string } ;
|
|
3614
3615
|
}
|
|
3615
|
-
// Generated from /
|
|
3616
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3616
3617
|
declare namespace shaka.extern {
|
|
3617
3618
|
type DashManifestConfiguration = { autoCorrectDrift : boolean , clockSyncUri : string , disableXlinkProcessing : boolean , ignoreDrmInfo : boolean , ignoreEmptyAdaptationSet : boolean , ignoreMaxSegmentDuration : boolean , ignoreMinBufferTime : boolean , ignoreSuggestedPresentationDelay : boolean , initialSegmentLimit : number , keySystemsByURI : { [ key: string ]: string } , manifestPreprocessor : (a : Element ) => any , xlinkFailGracefully : boolean } ;
|
|
3618
3619
|
}
|
|
3619
|
-
// Generated from /
|
|
3620
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3620
3621
|
declare namespace shaka.extern {
|
|
3621
3622
|
type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? : (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array , logLicenseExchange : boolean , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
|
|
3622
3623
|
}
|
|
3623
|
-
// Generated from /
|
|
3624
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3624
3625
|
declare namespace shaka.extern {
|
|
3625
3626
|
type DrmSupportType = { persistentState : boolean } ;
|
|
3626
3627
|
}
|
|
3627
|
-
// Generated from /
|
|
3628
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3628
3629
|
declare namespace shaka.extern {
|
|
3629
3630
|
type EmsgInfo = { endTime : number , eventDuration : number , id : number , messageData : Uint8Array | null , presentationTimeDelta : number , schemeIdUri : string , startTime : number , timescale : number , value : string } ;
|
|
3630
3631
|
}
|
|
3631
|
-
// Generated from /
|
|
3632
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3632
3633
|
declare namespace shaka.extern {
|
|
3633
3634
|
type HlsManifestConfiguration = { ignoreImageStreamFailures : boolean , ignoreTextStreamFailures : boolean , useFullSegmentsForStartTime : boolean } ;
|
|
3634
3635
|
}
|
|
3635
|
-
// Generated from /
|
|
3636
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3636
3637
|
declare namespace shaka.extern {
|
|
3637
3638
|
type ID3Metadata = { [ key: string ]: any } ;
|
|
3638
3639
|
}
|
|
3639
|
-
// Generated from /
|
|
3640
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3640
3641
|
declare namespace shaka.extern {
|
|
3641
3642
|
type LanguageRole = { label : string | null , language : string , role : string } ;
|
|
3642
3643
|
}
|
|
3643
|
-
// Generated from /
|
|
3644
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3644
3645
|
declare namespace shaka.extern {
|
|
3645
3646
|
type ManifestConfiguration = { availabilityWindowOverride : number , dash : shaka.extern.DashManifestConfiguration , defaultPresentationDelay : number , disableAudio : boolean , disableText : boolean , disableThumbnails : boolean , disableVideo : boolean , hls : shaka.extern.HlsManifestConfiguration , retryParameters : shaka.extern.RetryParameters } ;
|
|
3646
3647
|
}
|
|
3647
|
-
// Generated from /
|
|
3648
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3648
3649
|
declare namespace shaka.extern {
|
|
3649
3650
|
type OfflineConfiguration = { downloadSizeCallback : (a : number ) => Promise < boolean > , progressCallback : (a : shaka.extern.StoredContent , b : number ) => any , trackSelectionCallback : (a : shaka.extern.TrackList ) => Promise < shaka.extern.TrackList > , usePersistentLicense : boolean } ;
|
|
3650
3651
|
}
|
|
3651
|
-
// Generated from /
|
|
3652
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3652
3653
|
declare namespace shaka.extern {
|
|
3653
3654
|
type PlayerConfiguration = { abr : shaka.extern.AbrConfiguration , abrFactory : shaka.extern.AbrManager.Factory , drm : shaka.extern.DrmConfiguration , manifest : shaka.extern.ManifestConfiguration , offline : shaka.extern.OfflineConfiguration , playRangeEnd : number , playRangeStart : number , preferForcedSubs : boolean , preferredAudioChannelCount : number , preferredAudioCodecs : string [] , preferredAudioLanguage : string , preferredDecodingAttributes : string [] , preferredTextLanguage : string , preferredTextRole : string , preferredVariantRole : string , preferredVideoCodecs : string [] , restrictions : shaka.extern.Restrictions , streaming : shaka.extern.StreamingConfiguration , textDisplayFactory : shaka.extern.TextDisplayer.Factory } ;
|
|
3654
3655
|
}
|
|
3655
|
-
// Generated from /
|
|
3656
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3656
3657
|
declare namespace shaka.extern {
|
|
3657
3658
|
type Restrictions = { maxBandwidth : number , maxFrameRate : number , maxHeight : number , maxPixels : number , maxWidth : number , minBandwidth : number , minFrameRate : number , minHeight : number , minPixels : number , minWidth : number } ;
|
|
3658
3659
|
}
|
|
3659
|
-
// Generated from /
|
|
3660
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3660
3661
|
declare namespace shaka.extern {
|
|
3661
3662
|
type StateChange = { duration : number , state : string , timestamp : number } ;
|
|
3662
3663
|
}
|
|
3663
|
-
// Generated from /
|
|
3664
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3664
3665
|
declare namespace shaka.extern {
|
|
3665
3666
|
type Stats = { bufferingTime : number , completionPercent : number , corruptedFrames : number , decodedFrames : number , drmTimeSeconds : number , droppedFrames : number , estimatedBandwidth : number , height : number , licenseTime : number , liveLatency : number , loadLatency : number , manifestTimeSeconds : number , maxSegmentDuration : number , pauseTime : number , playTime : number , stateHistory : shaka.extern.StateChange [] , streamBandwidth : number , switchHistory : shaka.extern.TrackChoice [] , width : number } ;
|
|
3666
3667
|
}
|
|
3667
|
-
// Generated from /
|
|
3668
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3668
3669
|
declare namespace shaka.extern {
|
|
3669
3670
|
type StreamingConfiguration = { alwaysStreamText : boolean , autoLowLatencyMode : boolean , bufferBehind : number , bufferingGoal : number , durationBackoff : number , failureCallback : (a : shaka.util.Error ) => any , forceHTTPS : boolean , forceTransmuxTS : boolean , gapDetectionThreshold : number , ignoreTextStreamFailures : boolean , inaccurateManifestTolerance : number , jumpLargeGaps : boolean , lowLatencyMode : boolean , preferNativeHls : boolean , rebufferingGoal : number , retryParameters : shaka.extern.RetryParameters , safeSeekOffset : number , smallGapLimit : number , stallEnabled : boolean , stallSkip : number , stallThreshold : number , startAtSegmentBoundary : boolean , updateIntervalSeconds : number , useNativeHlsOnSafari : boolean } ;
|
|
3670
3671
|
}
|
|
3671
|
-
// Generated from /
|
|
3672
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3672
3673
|
declare namespace shaka.extern {
|
|
3673
3674
|
type SupportType = { drm : { [ key: string ]: shaka.extern.DrmSupportType | null } , manifest : { [ key: string ]: boolean } , media : { [ key: string ]: boolean } } ;
|
|
3674
3675
|
}
|
|
3675
|
-
// Generated from /
|
|
3676
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3676
3677
|
declare namespace shaka.extern {
|
|
3677
3678
|
type Thumbnail = { duration : number , height : number , imageHeight : number , imageWidth : number , positionX : number , positionY : number , startTime : number , uris : string [] , width : number } ;
|
|
3678
3679
|
}
|
|
3679
|
-
// Generated from /
|
|
3680
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3680
3681
|
declare namespace shaka.extern {
|
|
3681
3682
|
type TimelineRegionInfo = { endTime : number , eventElement : Element | null , id : string , schemeIdUri : string , startTime : number , value : string } ;
|
|
3682
3683
|
}
|
|
3683
|
-
// Generated from /
|
|
3684
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3684
3685
|
declare namespace shaka.extern {
|
|
3685
3686
|
type Track = { active : boolean , audioBandwidth : number | null , audioCodec : string | null , audioId : number | null , audioRoles : string [] | null , audioSamplingRate : number | null , bandwidth : number , channelsCount : number | null , codecs : string | null , forced : boolean , frameRate : number | null , hdr : string | null , height : number | null , id : number , kind : string | null , label : string | null , language : string , mimeType : string | null , originalAudioId : string | null , originalImageId : string | null , originalTextId : string | null , originalVideoId : string | null , pixelAspectRatio : string | null , primary : boolean , roles : string [] , spatialAudio : boolean , tilesLayout : string | null , type : string , videoBandwidth : number | null , videoCodec : string | null , videoId : number | null , width : number | null } ;
|
|
3686
3687
|
}
|
|
3687
|
-
// Generated from /
|
|
3688
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3688
3689
|
declare namespace shaka.extern {
|
|
3689
3690
|
type TrackChoice = { bandwidth : number | null , fromAdaptation : boolean , id : number , timestamp : number , type : string } ;
|
|
3690
3691
|
}
|
|
3691
|
-
// Generated from /
|
|
3692
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3692
3693
|
declare namespace shaka.extern {
|
|
3693
3694
|
type TrackList = shaka.extern.Track [] ;
|
|
3694
3695
|
}
|
|
3695
|
-
// Generated from /
|
|
3696
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
3696
3697
|
declare namespace shaka.extern {
|
|
3697
3698
|
interface Cue {
|
|
3698
3699
|
/**
|
|
@@ -3856,7 +3857,7 @@ declare namespace shaka.extern {
|
|
|
3856
3857
|
writingMode : shaka.text.Cue.writingMode ;
|
|
3857
3858
|
}
|
|
3858
3859
|
}
|
|
3859
|
-
// Generated from /
|
|
3860
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
3860
3861
|
declare namespace shaka.extern {
|
|
3861
3862
|
interface CueRegion {
|
|
3862
3863
|
/**
|
|
@@ -3912,7 +3913,7 @@ declare namespace shaka.extern {
|
|
|
3912
3913
|
widthUnits : shaka.text.CueRegion.units ;
|
|
3913
3914
|
}
|
|
3914
3915
|
}
|
|
3915
|
-
// Generated from /
|
|
3916
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
3916
3917
|
declare namespace shaka.extern {
|
|
3917
3918
|
interface TextDisplayer extends shaka.util.IDestroyable {
|
|
3918
3919
|
/**
|
|
@@ -3939,14 +3940,14 @@ declare namespace shaka.extern {
|
|
|
3939
3940
|
setTextVisibility (on : boolean ) : any ;
|
|
3940
3941
|
}
|
|
3941
3942
|
}
|
|
3942
|
-
// Generated from /
|
|
3943
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
3943
3944
|
declare namespace shaka.extern.TextDisplayer {
|
|
3944
3945
|
/**
|
|
3945
3946
|
* A factory for creating a TextDisplayer.
|
|
3946
3947
|
*/
|
|
3947
3948
|
type Factory = ( ) => shaka.extern.TextDisplayer ;
|
|
3948
3949
|
}
|
|
3949
|
-
// Generated from /
|
|
3950
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
3950
3951
|
declare namespace shaka.extern {
|
|
3951
3952
|
/**
|
|
3952
3953
|
* An interface for plugins that parse text tracks.
|
|
@@ -3966,25 +3967,25 @@ declare namespace shaka.extern {
|
|
|
3966
3967
|
parseMedia (data : Uint8Array , timeContext : shaka.extern.TextParser.TimeContext ) : shaka.extern.Cue [] ;
|
|
3967
3968
|
}
|
|
3968
3969
|
}
|
|
3969
|
-
// Generated from /
|
|
3970
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
3970
3971
|
declare namespace shaka.extern.TextParser {
|
|
3971
3972
|
/**
|
|
3972
3973
|
* A collection of time offsets used to adjust text cue times.
|
|
3973
3974
|
*/
|
|
3974
3975
|
type TimeContext = { periodStart : number , segmentEnd : number , segmentStart : number } ;
|
|
3975
3976
|
}
|
|
3976
|
-
// Generated from /
|
|
3977
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
3977
3978
|
declare namespace shaka.extern {
|
|
3978
3979
|
type TextParserPlugin = ( ) => shaka.extern.TextParser ;
|
|
3979
3980
|
}
|
|
3980
|
-
// Generated from /
|
|
3981
|
+
// Generated from /home/joey/hacking/work/clean/externs/tippy.js
|
|
3981
3982
|
declare namespace ಠ_ಠ.clutz {
|
|
3982
3983
|
/**
|
|
3983
3984
|
* This is the subset of this method that we use in our demo code.
|
|
3984
3985
|
*/
|
|
3985
3986
|
function tippy (element : Element , config : object ) : any ;
|
|
3986
3987
|
}
|
|
3987
|
-
// Generated from /
|
|
3988
|
+
// Generated from /home/joey/hacking/work/clean/externs/webkitmediakeys.js
|
|
3988
3989
|
declare namespace ಠ_ಠ.clutz {
|
|
3989
3990
|
class WebKitMediaKeyError {
|
|
3990
3991
|
private noStructuralTyping_WebKitMediaKeyError : any;
|
|
@@ -3998,7 +3999,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3998
3999
|
static MEDIA_KEYERR_UNKNOWN : number ;
|
|
3999
4000
|
}
|
|
4000
4001
|
}
|
|
4001
|
-
// Generated from /
|
|
4002
|
+
// Generated from /home/joey/hacking/work/clean/externs/webkitmediakeys.js
|
|
4002
4003
|
declare namespace ಠ_ಠ.clutz {
|
|
4003
4004
|
interface WebKitMediaKeySession extends EventTarget {
|
|
4004
4005
|
addEventListener (type : any , listener : any , useCapture : any ) : any ;
|
|
@@ -4010,7 +4011,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4010
4011
|
update (message : Uint8Array | null ) : any ;
|
|
4011
4012
|
}
|
|
4012
4013
|
}
|
|
4013
|
-
// Generated from /
|
|
4014
|
+
// Generated from /home/joey/hacking/work/clean/externs/webkitmediakeys.js
|
|
4014
4015
|
declare namespace ಠ_ಠ.clutz {
|
|
4015
4016
|
class WebKitMediaKeys {
|
|
4016
4017
|
private noStructuralTyping_WebKitMediaKeys : any;
|