Media Acceleration - JavaScript SDK

Document created by Domitian Tamas-Selicean Employee on Mar 1, 2017Last modified by Nicklas Bo Jensen on Nov 17, 2017
Version 27Show Document
  • View in full screen mode

 

 

Current version

 

 

 

Releases

 

v1.2.2

Supported Media Players

Media PlayerVersionOther dependencies
dash.js2.4.0N/A
hls.js0.6.19 - 0.7.3N/A
Shaka Player2.0.4N/A
video.js - hls.js5.6.0hls.js v0.6.19
video.js  MPEG-DASH5.6.0dash.js v2.4.0, videojs-contrib-dash v2.6.1

 

Known Issues:  

Update: 22nd June 2017 

A bug in MASDK v1.2.2 prevents playback of HLS streams with video.js v6 and later. This will be fixed in the future MASDK release.

Update: 28th March 2017 

A bug introduced in hls.js v0.7.4 makes this version incompatible with MASDK. Please see bug report #1068 for further details.

 

SDK Locations

 

 

v2.3.2 (Beta)

This release introduce the multi CDN-selector feature allowing users to select a CDN at startup to be used in the session.

 

Supported Media Players

Media PlayerVersionOther dependencies
dash.js2.5.0N/A
hls.js0.8.1N/A
Shaka Player2.2.0N/A
video.js - hls.js6.2.5hls.js v0.8.1
video.js  MPEG-DASH6.2.5dash.js v2.5.0, videojs-contrib-dash v2.9.1

 

Known issues:

No known issues

 

SDK Locations

 

 

SDK versioning

The SDK releases are versioned using semantic versioning, where each version is denoted by <major-version>.<minor-version>.<patch>.

 

Each SDK release is available as a minified JavaScript file for each supported media player, accessible at the following locations:

  • https://media-acceleration-host.akamaized.net/sdk/js/latest/<player>.min.js -- delivers the latest version of the SDK (stable or unstable). Not recommended for production.
  • https://media-acceleration-host.akamaized.net/sdk/js/stable/<player>.min.js -- delivers the latest stable version of the SDK.
  • https://media-acceleration-host.akamaized.net/sdk/js/stable/<major-version>/<player>.min.js -- delivers the latest stable version of the SDK for the specified major version. Recommended for production use.
  • https://media-acceleration-host.akamaized.net/sdk/js/stable/<major-version>.<minor-version>/<player>.min.js -- delivers the latest stable version of the SDK for the specified major and minor version. Recommended for production use.
  • https://media-acceleration-host.akamaized.net/sdk/js/<major-version>.<minor-version>.<patch>/<player>.min.js -- delivers the SDK for the specified version.
Specific SDK Locations for Version 1.2.2.

https://media-acceleration-host.akamaized.net/sdk/js/1.2.2/dashjs.min.js

https://media-acceleration-host.akamaized.net/sdk/js/1.2.2/hlsjs.min.js

https://media-acceleration-host.akamaized.net/sdk/js/1.2.2/shaka-player.min.js

https://media-acceleration-host.akamaized.net/sdk/js/1.2.2/videojs-hlsjs.min.js

https://media-acceleration-host.akamaized.net/sdk/js/1.2.2/videojs-dash.min.js

Specific SDK Locations for Version 2.3.2.

https://media-acceleration-host.akamaized.net/sdk/js/2.3.2/dashjs.min.js

https://media-acceleration-host.akamaized.net/sdk/js/2.3.2/hlsjs.min.js

https://media-acceleration-host.akamaized.net/sdk/js/2.3.2/shaka-player.min.js

https://media-acceleration-host.akamaized.net/sdk/js/2.3.2/videojs-hlsjs.min.js

https://media-acceleration-host.akamaized.net/sdk/js/2.3.2/videojs-dash.min.js

 

 

Running the Sample Players

Prerequisites

  • A web server
  • A web browser (e.g., Mozilla Firefox or Google Chrome)

 

To run the sample players, you need to deploy the sample players to a web server and point your browser to the sample players. Assuming your web server is running on port <PORT_NUMBER>, and you deployed the examples folder to the web server directory, browse to localhost:<PORT_NUMBER>/examples/<media-player>/ where <media-player> is one of the supported media players.

4 people found this helpful

Outcomes