Streaming WAV Files in Adobe Air [duplicate]
I am writing a basic Air app where one of the features is the ability to stream voicemail off of a local PBX. The voicemails are saved in WAV format and due to outside factors this cannot be changed. According to the Air docs there开发者_如何学JAVA is no support for the audio tag because the flash player is built in, however, the flash player doesn't support wav files.
Was this just a large oversight on Adobe's part or am I missing something obvious here?
You could try encoding the wav files in mp3 and then playing them. Check out http://code.google.com/p/flash-kikko/.
You could also use a command line encoder using the nativeProcesses capability in AIR. Check out this for some details.
精彩评论