Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shaka-player

Package Overview
Dependencies
Maintainers
1
Versions
348
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shaka-player - npm Package Versions

1
3335

1.5.2

Diff

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
joeyparrish
published 1.3.1 •

Changelog

Source

1.3.1 (2015-05-22)

A roll-up of recent bugfixes and small improvements.

Bugfixes:

  • Fixed some broken tests.
  • Fixed buffering states.
    • https://github.com/shaka-project/shaka-player/issues/61
  • Fixed fullscreen polyfill installation.
    • https://github.com/shaka-project/shaka-player/issues/81
  • Fixed handling of live content with minimumUpdatePeriod of 0.
    • https://github.com/shaka-project/shaka-player/pull/64
  • Fixed selection of live content (type=dynamic).
    • https://github.com/shaka-project/shaka-player/issues/69
    • https://github.com/shaka-project/shaka-player/issues/70
  • Fixed AJAX request timeouts.
    • https://github.com/shaka-project/shaka-player/issues/78
    • https://github.com/shaka-project/shaka-player/pull/79
  • Fixed spec compliance for polyfilled session expiration.
  • Fixed buffer time for offline playback.
  • Fixed offline API consistency.
    • https://github.com/shaka-project/shaka-player/issues/72

Features:

  • Refactored and updated support test page.
    • http://shaka-player-demo.appspot.com/support.html
  • Simplified polyfill installation. (shaka.polyfill.installAll)
  • New polyfill for CustomEvent.
  • Small improvements to browser compatibility.
    • (node.childNodes, node.textContent, currentScript, CSS fixes, etc.)
  • Documented clock sync and CORS issues with live content.
    • https://github.com/shaka-project/shaka-player/issues/53
  • Documented JRE requirements.
  • Test app now accepts a URL parameter to make ChromeCast testing easier.
    • https://github.com/shaka-project/shaka-player/issues/56
  • Stopped using deprecated methods in tests and tutorials.
    • https://github.com/shaka-project/shaka-player/issues/73
  • Added progress events for storing offline content.
  • Documented offline APIs.
    • https://github.com/shaka-project/shaka-player/issues/60
joeyparrish
published 1.3.0 •

Changelog

Source

1.3.0 (2015-04-16)

Feature release, introducing live streaming and offline playback.

Bugfixes:

  • Fixed playback and buffering of streams whose index is inaccurate.
  • Fixed EME spec compliance.
    • https://github.com/shaka-project/shaka-player/issues/45
  • Fixed FakeEventTarget exception handling.
  • Fixed aggressive dead code stripping by the compiler.
  • Fixed a bug in which subtitles were enabled by default without a subtitle language match.

Features:

  • Added offline playback support.
    • https://github.com/shaka-project/shaka-player/issues/22
  • Added offline support for encrypted content (on platforms which support persistent licenses).
    • https://github.com/shaka-project/shaka-player/issues/23
  • Added live stream support.
    • https://github.com/shaka-project/shaka-player/issues/21
  • Added support for header-based clock synchronization.
  • Added support for inheriting Segment{Base,List,Template} across levels in MPDs.
  • Add polyfill support for fullscreen events.
  • Updated EME usage to the March 12 draft.
  • Added Player.getAdaptationEnabled().
    • https://github.com/shaka-project/shaka-player/pull/31
  • Added support for bandwidth restrictions and restrictions not based on license responses.
    • https://github.com/shaka-project/shaka-player/pull/36
  • Added support for requireJS and improved support for commonJS.
  • Sped up integration tests and improved test robustness.
  • Bandwidth estimates can now be persisted across playbacks.
  • Custom bandwidth estimator objects can now be injected into the Player.
  • Improved EME v0.1b polyfill consistency with native EME in Chrome.
  • Improved buffering and underflow mechanisms.
  • Improved error reporting if DRM info is missing.
  • Improved robustness in the face of HTTP 404 and 410 errors during segment fetch.
  • Improved documentation for Role tags and multilingual assets.

Test app features:

  • Example player controls in the test app.

Deprecated:

  • The following methods on Player are deprecated. They will be removed in v1.4.0:
    • getCurrentResolution() (replace with video.videoWidth & video.videoHeight)
    • getCurrentTime()/seek() (replace with video.currentTime)
    • getDuration() (replace with video.duration)
    • getMuted()/setMuted() (replace with video.muted)
    • getVolume()/setVolume() (replace with video.volume)
    • play() (replace with video.play)
    • pause() (replace with video.pause)
    • requestFullscreen() (replace with video.requestFullscreen())

Broken compatibility:

  • The license postprocessor callback is no longer given a Restrictions argument. See Player.getRestrictions()/setRestrictions().
  • The suppressMultipleEvents flag has been dropped from DrmSchemeInfo, which changes the constructor signature. This flag interfered with key rotation.
joeyparrish
published 1.2.4 •

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