I have to record voice in OGG/MP3
format using Android MediaRecorder
. I need these formats to play with HTML5
audio tag. The android documentation specifies in MediaRecorder.OutputFormat
class about the formats but do not speak anything about which output format equals mp3 and ogg.
Whereas documentation also says that android supports mp3 and ogg vorbis on Supported Media Formats page. Very much confused, please clarify.