Socket
Socket
Sign inDemoInstall

shaka-player

Package Overview
Dependencies
Maintainers
3
Versions
327
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shaka-player - npm Package Versions

1
3133

1.6.2

Diff

Changelog

Source

1.6.2 (2015-12-14)

Features:

  • Added a new configure parameter to allow a user to completely disable the cache-buster. This is necessary for certain CDNs, but please note the tradeoffs before using. Bandwidth estimation can be adversely affected, particularly for low-bandwidth users.
    • https://github.com/shaka-project/shaka-player/issues/235
    • https://github.com/shaka-project/shaka-player/issues/238
    • https://github.com/shaka-project/shaka-player/issues/76

Bugfixes:

  • Fixed interpretation of startNumber for SegmentTemplate w/ duration.
    • https://github.com/shaka-project/shaka-player/issues/237
joeyparrish
published 1.6.1 •

Changelog

Source

1.6.1 (2015-12-07)

Bugfixes:

  • Fixed handling when all streams are removed in a manifest update.
  • Fixed annotation mistakes in preparation for a new compiler release.
  • Fixed Promise polyfill errors in compiled mode.
    • https://github.com/shaka-project/shaka-player/issues/236
joeyparrish
published 1.6.0 •

Changelog

Source

1.6.0 (2015-11-17)

Features:

  • Partial IE11 & PlayReady support. (Thanks, Jono!)
    • https://github.com/shaka-project/shaka-player/pull/176
    • live and offline content not working
    • non-zero start times not working
    • IE11 fails to decode some test assets
      • https://github.com/shaka-project/shaka-player/issues/224
  • Added support for setPlaybackStartTime on live streams.
    • https://github.com/shaka-project/shaka-player/pull/231
  • Improved support for live streaming corner cases.
    • https://github.com/shaka-project/shaka-player/issues/139
    • https://github.com/shaka-project/shaka-player/issues/140
    • https://github.com/shaka-project/shaka-player/issues/141
    • https://github.com/shaka-project/shaka-player/issues/145
    • https://github.com/shaka-project/shaka-player/issues/185
  • Now builds with three different configs by default.
    • Full build (all features enabled).
    • DASH MP4 VOD. (Only DASH w/ SegmentBase, no WebM.)
    • DASH MP4 live. (Only DASH w/o SegmentBase, no WebM.)
    • https://github.com/shaka-project/shaka-player/issues/116
  • Changed startNumber implementation to be more consistent.
    • https://github.com/shaka-project/shaka-player/issues/192
  • Added a new Promise polyfill for IE11.
  • Added support for WebM w/ unknown size in the Segment element.

Bugfixes:

  • Expired sessions (for example, when using key rotation) are now cleaned up.
    • https://github.com/shaka-project/shaka-player/issues/210
  • Manifests can now be reprocessed without an update when availabilityStartTime passes.
    • https://github.com/shaka-project/shaka-player/issues/172

Test app features:

  • Added Chromecast support to the demo app. (No changes to the library for this.)
    • https://github.com/shaka-project/shaka-player/issues/117
  • Removed force-prefixed feature for improved IE11 support.
    • https://github.com/shaka-project/shaka-player/issues/222
  • Added links to the project and the docs.

Broken Compatibility:

  • Removed Player methods deprecated since v1.5.0.
    • enableAdaptation
    • getAdaptationEnabled
    • setStreamBufferSize
    • getStreamBufferSize
    • setLicenseRequestTimeout
    • setMpdRequestTimeout
    • setRangeRequestTimeout
    • setPreferredLanguage
    • setRestrictions
    • getRestrictions
    • https://github.com/shaka-project/shaka-player/issues/203
    • https://github.com/shaka-project/shaka-player/issues/93
  • Removed support for the old-style ContentProtection callback, deprecated since v1.5.0.
    • https://github.com/shaka-project/shaka-player/issues/203
    • https://github.com/shaka-project/shaka-player/issues/71
joeyparrish
published 1.5.2 •

Changelog

Source

1.5.2 (2015-11-12)

A roll-up of recent bugfixes.

Bugfixes:

  • Fixed timestamp correction for some live streams from Elemental.
    • https://github.com/shaka-project/shaka-player/issues/200
  • Fixed support for manifests with different PSSHs per Representation.
    • https://github.com/shaka-project/shaka-player/issues/229
  • Fixed support for ContentProtection elements at both AdaptationSet and Representation level in the same manifest.
    • https://github.com/shaka-project/shaka-player/issues/230
  • Fixed support for bound DrmInfo callbacks.
    • https://github.com/shaka-project/shaka-player/issues/227
  • Fixed the 'enabled' flag of text tracks when manipulated directly by the video element.
    • https://github.com/shaka-project/shaka-player/issues/214
  • Fixed buffering to use the correct goal (minBufferTime) when re-buffering.
    • https://github.com/shaka-project/shaka-player/issues/190
  • Fixed a broken link in the documentation. (Thanks, Leandro.)
    • https://github.com/shaka-project/shaka-player/issues/217
    • https://github.com/shaka-project/shaka-player/pull/218

Test app features:

  • Added a Widevine-encrypted version of the Sintel 4k test asset.
joeyparrish
published 1.5.1 •

Changelog

Source

1.5.1 (2015-10-07)

A roll-up of recent bugfixes.

Bugfixes:

  • Fixed a major memory leak introduced in 1.5.0.
    • https://github.com/shaka-project/shaka-player/issues/184
  • Deleting encrypted offline content now deletes persistent sessions.
    • https://github.com/shaka-project/shaka-player/issues/171
  • Static content using SegmentTemplate is now truncated at the Period's duration.
    • https://github.com/shaka-project/shaka-player/issues/187
    • https://github.com/shaka-project/shaka-player/issues/173
  • Key status error reporting is now more consistent and provides more information.
  • Reduced flakiness in some tests.
  • Requests used for clock sync no longer allow caching.
    • https://github.com/shaka-project/shaka-player/issues/191
tdrews
published 1.5.0 •

Changelog

Source

1.5.0 (2015-09-17)

Features:

  • Added method to set playback start time.
    • https://github.com/shaka-project/shaka-player/issues/122
    • https://github.com/shaka-project/shaka-player/pull/123
  • Added a text-styling API.
    • https://github.com/shaka-project/shaka-player/issues/115
  • Added support for AdaptationSet groups.
    • https://github.com/shaka-project/shaka-player/issues/67
  • Added a new configuration API.
    • https://github.com/shaka-project/shaka-player/issues/93
  • License preprocessing can now modify HTTP method and server URL.
    • https://github.com/shaka-project/shaka-player/issues/134
    • https://github.com/shaka-project/shaka-player/issues/135
  • Added an API to load captions not specified in the manifest.
    • https://github.com/shaka-project/shaka-player/issues/133
  • Added support for live streams using SegmentList.
    • https://github.com/shaka-project/shaka-player/issues/88
  • Added support for multiple BaseURL elements for failover.
    • https://github.com/shaka-project/shaka-player/issues/68
  • Gave IAbrManager implementation the ability to clear the buffer when switching streams.
    • https://github.com/shaka-project/shaka-player/pull/144
  • Added setNetworkCallback API to DashVideoSource to modify network requests.
    • https://github.com/shaka-project/shaka-player/issues/148
  • Improved error reporting for unplayable content.
  • Added support for multiple DRM schemes per ContentProtection and simplified DRM scheme configuration.
    • https://github.com/shaka-project/shaka-player/issues/71
  • Improved documentation for license pre- and post-processing.
    • https://github.com/shaka-project/shaka-player/issues/137

Bugfixes:

  • Restricting all video tracks now fires an error event.
    • https://github.com/shaka-project/shaka-player/issues/179
    • https://github.com/shaka-project/shaka-player/issues/170
  • Changing text tracks now fires an adaptation event.
    • https://github.com/shaka-project/shaka-player/issues/147
  • Fixed bad interactions between pausing and negative playback rates.
    • https://github.com/shaka-project/shaka-player/issues/130
  • Fixed support for negative r values in SegmentTimeline.
    • https://github.com/shaka-project/shaka-player/issues/162
  • Fixed bugs that could cause infinite buffering for certain configurations.
    • https://github.com/shaka-project/shaka-player/issues/166
  • Fixed exceptions fired during rapid Player destroy().
    • https://github.com/shaka-project/shaka-player/issues/151
  • Fixed linting with conflicting globally-installed copy of linter library.
    • https://github.com/shaka-project/shaka-player/issues/153
  • Fixed support for SegmentTimelines with presentationTimeOffset.
    • https://github.com/shaka-project/shaka-player/issues/143
  • Fixed support for apps/content which specify multiple DRM scheme configs.
    • https://github.com/shaka-project/shaka-player/issues/177

Broken Compatibility:

  • Removed Player methods deprecated since v1.3.0.
    • getCurrentResolution
    • getCurrentTime
    • getDuration
    • getMuted
    • getVolume
    • play
    • pause
    • requestFullscreen
    • seek
    • setMuted
    • setVolume
    • https://github.com/shaka-project/shaka-player/issues/118

Deprecated:

  • The following methods on Player are deprecated in favor of configure()/getConfiguration() and will be removed in v1.6.0:
    • enableAdaptation
    • getAdaptationEnabled
    • setStreamBufferSize
    • getStreamBufferSize
    • setLicenseRequestTimeout
    • setMpdRequestTimeout
    • setRangeRequestTimeout
    • setPreferredLanguage
    • setRestrictions
    • getRestrictions
    • https://github.com/shaka-project/shaka-player/issues/93
  • A new two-argument ContentProtectionCallback has been added to DashVideoSource, and the old style is deprecated and will be removed in v1.6.0.
    • https://github.com/shaka-project/shaka-player/issues/71
joeyparrish
published 1.4.2 •

Changelog

Source

1.4.2 (2015-09-04)

A roll-up of recent bugfixes.

Bugfixes:

  • Fix storage of duplicate session IDs for encrypted offline content.
  • Specify EME sessionTypes, required in newer EME draft.
    • https://github.com/shaka-project/shaka-player/issues/128
  • Fix regression in rewind support, once more working outside buffered range.
    • https://github.com/shaka-project/shaka-player/issues/165
  • Support renamed output protection errors from newer EME draft.
  • Fix seeking in custom controls on Android.
    • https://github.com/shaka-project/shaka-player/issues/164
  • Fix missing final chunk when storing certain videos for offline playback.
    • https://github.com/shaka-project/shaka-player/issues/157
  • Prevent crashing of module loaders which use 'define' but are not full AMD loaders.
    • https://github.com/shaka-project/shaka-player/issues/163

Test app features:

  • Added 'offline' URL param.
tdrews
published 1.4.1 •

Changelog

Source

1.4.1 (2015-08-18)

A roll-up of recent bugfixes and small improvements.

Bugfixes:

  • An exception is no longer thrown from StreamVideoSource in uncompiled mode when the stream limits cannot be computed.
  • Fixed support for multiple encrypted audio tracks.
    • https://github.com/shaka-project/shaka-player/issues/112
  • Fixed support for manifests that use SegmentList with a single URL.
  • Fixed support for audio and video robustness settings in compiled mode.
  • The MPD 'main' property is now defined in the correct class.
  • The same initialization segment is no longer inserted multiple times into the SourceBuffer.
  • Removed a race in Stream that could stop AdaptationEvents from firing.
  • Stopped the compiler from renaming PersistentState and DistinctiveIdentifier enum values.
  • Removed a race in Player.getStats() that could cause NaN stats.
  • Fixed support to recover from failed segment requests.
    • https://github.com/shaka-project/shaka-player/issues/131
  • Made rewind, pause, play, and fast-forward consistent with normal video element behavior, the UI, and Player.setPlaybackRate().
    • https://github.com/shaka-project/shaka-player/issues/130
    • https://github.com/shaka-project/shaka-player/issues/138
  • Improved seek handling during stream startup.
    • https://github.com/shaka-project/shaka-player/issues/136
  • Unnecessary seeking events during stream startup are no longer fired.
    • https://github.com/shaka-project/shaka-player/issues/132
  • Segment fetches are no longer retried if the Stream has been destroyed.
    • https://github.com/shaka-project/shaka-player/issues/156
  • Fixed support for offline in compiled mode.

Features:

  • The version indicator on the demo page now displays the NPM version (if available) when the git version is unavailable.
  • Added support to clear the audio buffer when switching tracks.
    • https://github.com/shaka-project/shaka-player/issues/119
  • Added the ability to detect and recover from multiple buffered ranges.
    • https://github.com/shaka-project/shaka-player/issues/121
  • Improved error messages when persistent licenses are not supported.
    • https://github.com/shaka-project/shaka-player/issues/85

Testing:

  • Reduced test flakiness overall.
  • Certain (unavoidable) decode errors are now suppressed on Chrome Linux.
  • Added waitUntilBuffered() function to help reduce test flakiness.
joeyparrish
published 1.4.0 •

Changelog

Source

1.4.0 (2015-07-06)

Code health release. Major refactoring of streaming logic.

Bugfixes:

  • Overriding a license server URL in the test app no longer causes a PSSH from the MPD to be ignored.
  • Fixed possible event listener leak.
    • https://github.com/shaka-project/shaka-player/issues/109

Features:

  • Player.destroy() now returns a Promise.
  • DrmSchemeInfo now has distinctiveIdentifier, persistentState, and robustness parameters.
  • Clarified buffering event policies.
    • https://github.com/shaka-project/shaka-player/issues/77
  • Added a license pre-processor.
    • https://github.com/shaka-project/shaka-player/issues/62
  • Added support for the MPD Location element.
    • https://github.com/shaka-project/shaka-player/issues/65
  • Custom BandwidthEstimators can now allow XHR caching.
    • https://github.com/shaka-project/shaka-player/issues/76
  • Added support for startNumber of 0, per the recent DASH spec corrigendum.
    • https://github.com/shaka-project/shaka-player/issues/10
  • Added support for server certificate APIs through DrmSchemeInfo.
    • https://github.com/shaka-project/shaka-player/issues/84
  • Major refactor of streaming. Switching representations is now faster and more flexible. Live stream seek ranges are more accurate.
    • https://github.com/shaka-project/shaka-player/issues/51
  • XHR timeout is now runtime-configurable.
    • https://github.com/shaka-project/shaka-player/issues/50
  • Buffering goals are now runtime-configurable.
    • https://github.com/shaka-project/shaka-player/issues/49
  • Alternative IAbrManager implementations can now be injected at runtime.
    • https://github.com/shaka-project/shaka-player/issues/48

Test app features:

  • Added "buffered ahead" and "buffered behind" indicators.
    • https://github.com/shaka-project/shaka-player/issues/47
  • Converted cycle buttons into checkboxes so cycling can be stopped during playback.
    • https://github.com/shaka-project/shaka-player/issues/46
  • Test app now jumps to live when the user clicks on the time code in a live stream.
  • Added an example of a trick-play UI built on the Player API.
    • https://github.com/shaka-project/shaka-player/issues/54

Testing:

  • Disabled code coverage stats in unit tests by default.
    • https://github.com/shaka-project/shaka-player/issues/105
  • Split unit tests and integration tests into separate test runners.
    • https://github.com/shaka-project/shaka-player/issues/104
  • Added a Karma config file to make automated testing easier.
  • Added checks for offline features to the support-testing page.

Documentation:

  • Documented the fact that autoplay does not work on mobile, and why.
  • Documented error events and how to handle them.
    • https://github.com/shaka-project/shaka-player/issues/106
  • Documented browser support and porting.
    • https://github.com/shaka-project/shaka-player/issues/66
  • Documented Player APIs for trick play interface.
    • https://github.com/shaka-project/shaka-player/issues/54
joeyparrish
published 1.3.2 •

Changelog

Source

1.3.2 (2015-07-06)

A roll-up of recent bugfixes.

Bugfixes:

  • Fixed case-sensitive scheme URI check in the test app.
  • Fixed support-testing page for very old browsers.
  • Fixed multi-lingual encrypted content.
    • https://github.com/shaka-project/shaka-player/issues/112
  • Fixed load-time exceptions in IE 9.
    • https://github.com/shaka-project/shaka-player/issues/87
    • https://github.com/shaka-project/shaka-player/pull/110
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc