i need the code for the same in java.thanks in advance.
+1
A:
Apache Commons Codec will do Base64Encoding. You'll need your audio stream as a byte array or similar.
If your audio is in a file you can read it using a FileInputStream.
Brian Agnew
2010-10-02 08:01:29