- Newest
- Most votes
- Most comments
Developers packaging the IVS player into an app are required to resolve and import the following assets via URL:
- ‘amazon-ivs-player/dist/assets/amazon-ivs-wasmworker.min.wasm’
- ‘amazon-ivs-player/dist/assets/amazon-ivs-wasmworker.min.js’;
These assets must not be re-compiled during packaging. Your build tool must ignore these wasm files.
A sample of webpack config can be found: https://github.com/aws-samples/amazon-ivs-player-web-sample/blob/master/webpack.config.js , however, other packagers could have their own way of ignoring certain files from being re-compiled.
Hello,
Adding on to what Riley mentioned, this GitHub issue on our web samples repo seems to describe a similar problem and may have more tips: https://github.com/aws-samples/amazon-ivs-player-web-sample/issues/4.
I'm not familiar with angular-cli, but perhaps you could use this library to specify an additional webpack configuration that'd let you copy the player's assets without recompilation? https://github.com/just-jeb/angular-builders
Best,
Tony
Relevant content
- asked 8 months ago
- asked 9 months ago
- I tried to delete my ACM certificate but received an error that it's in use with other AWS resourcesAWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago