nwjs / nw.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
https://nwjs.io
MIT License
40.29k stars 3.88k forks source link

Request for Mac-App-Store-friendly NWJS build that supports audio playback #3761

Open blackslate opened 9 years ago

blackslate commented 9 years ago

In the Additional Steps section at the foot of MAS: Packaging your app, I read:

To ensure proper validation [of your NWJS app for the Mac App Store], you have to check those steps:

Delete the FFMPEG library:

rm "YourApp.app/Contents/Frameworks/nwjs Framework.framework/Libraries/ffmpegsumo.so"

Note: Currently, FFMPEG library cannot be submitted to Mac App Store as is.

When I delete the FFMPEG library, if my app includes (ogg) audio files and attempts to play them, the app crashes. I assume that this is because the FFMPEG library is essential for audio playback.

Unless this is a case of pilot error, this means that the current Mac-App-Store-friendly NWJS build (nwjs-macappstore-v0.12.3-osx-x64) does not support audio. It would be great to have a fix for this.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

antontriola commented 9 years ago

I have the same issue, however, webkit Chromium (and Google chrome) use FFMPEG codecs for audio support, Apple uses Quicktime. It's doubtful that Chrome will be hacked to use Quicktime just to support Apple's app store preferences. I would be quite surprised if Rodger and ken would seriously consider this given the amount of work they have in front of them, not to mention the legal ramifications and licensing issues merging Quicktime libs with Chromium would pose.

A better solution would be to petition Apple to allow FFMPEG codecs use in submitted apps, if even on a selective basis..