Devin Norgarb
Devin Norgarb

Reputation: 1159

Need to play WAV files in Electron using Vue.js or Javascript, No support for WAV from Chrome

Problem is chrome doesn't support WAV files and Electron is built on Chrome.

Our recording server software (Asterisk) records calls to WAV and have no choice but to use WAV as a format since there are more than 100000 recordings.

Only option it seems for now would be to convert the files to mp3 on the fly when that file is requested but having some difficulty getting there.

Any suggestions on how to go about doing this will be greatly appreciated.

Upvotes: 1

Views: 880

Answers (1)

Jens Habegger
Jens Habegger

Reputation: 5456

Check out the node packages wav and speaker, they should offer the functionality you desire.

Upvotes: 1

Related Questions