Building Shaka Player for testing
Get the source code from GitHub, and build the player for testing.
Procedure
-
Get the source code of Shaka Player from https://github.com/google/shaka-player.
Shaka Player version 3.1.0 is used in this release of the kit.
-
In the lib/dash/dash_parser.js file, locate the following
line and replace
eac3-joc
withmp4
.context.representation.mimeType = 'audio/eac3-joc'
-
Compile the library.
python build/all.py –force
- To play encrypted content, upload the entire build folder to a server that supports HTTPS connections.