The media library provides access to the multimedia features of the device: audio, video, camera and photo library.
Note: The audio functions in this section have been replaced by a new OpenAL audio library that supports multiple channels and a wide range of features. It is recommended that all audio playback use this new library. http://developer.anscamobile.com/reference/audio
The following audio APIs should not be used:
media.newEventSound
media.playEventSound
media.playSound
media.pauseSound
media.stopSound
media.getSoundVolume
media.setSoundVolume