Skip to content

Commit 22a3f51

Browse files
committed
update compilation
1 parent f5742f0 commit 22a3f51

17 files changed

+531
-482
lines changed

dist/shaka-player.compiled.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,11 @@ declare namespace shaka {
242242
* Go to live in a live stream.
243243
*/
244244
goToLive ( ) : any ;
245+
/**
246+
* Sets the player to hibernate mode. In hibernate mode, the player will not
247+
* update * the manifest, will not fetch new segments.
248+
*/
249+
hibernate (value : boolean ) : any ;
245250
/**
246251
* Check if the manifest contains only audio-only content. If the player has
247252
* not loaded content, this will return <code>false</code>.
@@ -4732,7 +4737,7 @@ declare namespace shaka.extern.ManifestParser {
47324737
}
47334738
// Generated from /home/jobispo/dev/stv-shaka-player/externs/shaka/manifest_parser.js
47344739
declare namespace shaka.extern.ManifestParser {
4735-
type PlayerInterface = { enableLowLatencyMode : ( ) => any , filter : (a : shaka.extern.Manifest ) => Promise < any > , getBandwidthEstimate : ( ) => number , isAutoLowLatencyMode : ( ) => boolean , isLowLatencyMode : ( ) => boolean , makeTextStreamsForClosedCaptions : (a : shaka.extern.Manifest ) => any , networkingEngine : shaka.net.NetworkingEngine , newDrmInfo : (a : shaka.extern.Stream ) => any , onError : (a : shaka.util.Error ) => any , onEvent : shaka.util.EventManager.ListenerType , onManifestUpdated : ( ) => any , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any , updateDuration : ( ) => any } ;
4740+
type PlayerInterface = { enableLowLatencyMode : ( ) => any , filter : (a : shaka.extern.Manifest ) => Promise < any > , getBandwidthEstimate : ( ) => number , isAutoLowLatencyMode : ( ) => boolean , isHibernated : ( ) => boolean , isLowLatencyMode : ( ) => boolean , makeTextStreamsForClosedCaptions : (a : shaka.extern.Manifest ) => any , networkingEngine : shaka.net.NetworkingEngine , newDrmInfo : (a : shaka.extern.Stream ) => any , onError : (a : shaka.util.Error ) => any , onEvent : shaka.util.EventManager.ListenerType , onManifestUpdated : ( ) => any , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any , updateDuration : ( ) => any } ;
47364741
}
47374742
// Generated from /home/jobispo/dev/stv-shaka-player/externs/shaka/mp4_parser.js
47384743
declare namespace shaka.extern {

dist/shaka-player.compiled.debug.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,11 @@ declare namespace shaka {
242242
* Go to live in a live stream.
243243
*/
244244
goToLive ( ) : any ;
245+
/**
246+
* Sets the player to hibernate mode. In hibernate mode, the player will not
247+
* update * the manifest, will not fetch new segments.
248+
*/
249+
hibernate (value : boolean ) : any ;
245250
/**
246251
* Check if the manifest contains only audio-only content. If the player has
247252
* not loaded content, this will return <code>false</code>.
@@ -4732,7 +4737,7 @@ declare namespace shaka.extern.ManifestParser {
47324737
}
47334738
// Generated from /home/jobispo/dev/stv-shaka-player/externs/shaka/manifest_parser.js
47344739
declare namespace shaka.extern.ManifestParser {
4735-
type PlayerInterface = { enableLowLatencyMode : ( ) => any , filter : (a : shaka.extern.Manifest ) => Promise < any > , getBandwidthEstimate : ( ) => number , isAutoLowLatencyMode : ( ) => boolean , isLowLatencyMode : ( ) => boolean , makeTextStreamsForClosedCaptions : (a : shaka.extern.Manifest ) => any , networkingEngine : shaka.net.NetworkingEngine , newDrmInfo : (a : shaka.extern.Stream ) => any , onError : (a : shaka.util.Error ) => any , onEvent : shaka.util.EventManager.ListenerType , onManifestUpdated : ( ) => any , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any , updateDuration : ( ) => any } ;
4740+
type PlayerInterface = { enableLowLatencyMode : ( ) => any , filter : (a : shaka.extern.Manifest ) => Promise < any > , getBandwidthEstimate : ( ) => number , isAutoLowLatencyMode : ( ) => boolean , isHibernated : ( ) => boolean , isLowLatencyMode : ( ) => boolean , makeTextStreamsForClosedCaptions : (a : shaka.extern.Manifest ) => any , networkingEngine : shaka.net.NetworkingEngine , newDrmInfo : (a : shaka.extern.Stream ) => any , onError : (a : shaka.util.Error ) => any , onEvent : shaka.util.EventManager.ListenerType , onManifestUpdated : ( ) => any , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any , updateDuration : ( ) => any } ;
47364741
}
47374742
// Generated from /home/jobispo/dev/stv-shaka-player/externs/shaka/mp4_parser.js
47384743
declare namespace shaka.extern {

dist/shaka-player.compiled.debug.externs.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3127,6 +3127,12 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
31273127
* @return {!Promise}
31283128
*/
31293129
detach(keepAdManager) {}
3130+
/**
3131+
* Sets the player to hibernate mode. In hibernate mode, the player will not
3132+
* update * the manifest, will not fetch new segments.
3133+
* @param {boolean} value
3134+
*/
3135+
hibernate(value) {}
31303136
/**
31313137
* Unloads the currently playing stream, if any.
31323138
* @param {boolean=} initializeMediaSource

dist/shaka-player.compiled.debug.js

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/shaka-player.compiled.debug.map

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

dist/shaka-player.compiled.externs.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3127,6 +3127,12 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
31273127
* @return {!Promise}
31283128
*/
31293129
detach(keepAdManager) {}
3130+
/**
3131+
* Sets the player to hibernate mode. In hibernate mode, the player will not
3132+
* update * the manifest, will not fetch new segments.
3133+
* @param {boolean} value
3134+
*/
3135+
hibernate(value) {}
31303136
/**
31313137
* Unloads the currently playing stream, if any.
31323138
* @param {boolean=} initializeMediaSource

0 commit comments

Comments
 (0)