×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2009
    Posts
    78

    Question Record Audio and send to server?

    Hello Friends,
    I am developing one application in which i want to record audio of 1 minute and send this audio to server.
    I want to know is that in which format i have to record audio so that size is not big and i also want to send this file to server and if server is not responding then i store this audio file in RMS so file is not big.

  2. #2
    Super Contributor
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,100

    Re: Record Audio and send to server?

    Quote Originally Posted by ankit2502 View Post
    Hello Friends,
    I am developing one application in which i want to record audio of 1 minute and send this audio to server.
    I want to know is that in which format i have to record audio so that size is not big and i also want to send this file to server and if server is not responding then i store this audio file in RMS so file is not big.
    Hello ankit2502,


    What comes to recording audio and sending it to server, you could have a look at this thread:

    http://www.forum.nokia.com/forum/sho...d.php?p=725461

    One sample external article link: http://www.informit.com/articles/art...31116&seqNum=5

    For the audio formats, here is good information;

    MIDP: Mobile Media API Support In Nokia Devices v2.0
    http://www.forum.nokia.com/info/sw.n..._0_en.xls.html

    You can find all supported audio formats with

    Code:
    String[] types = Manager.getSupportedContentTypes("capture");
    Well, the AMR would be the one to go with...

    A choise to RMS in case of an applicable device and..maybe consider using JSR-75 for storing data?

    http://wiki.forum.nokia.com/index.ph...ample_-_JSR_75
    http://developers.sun.com/mobility/a...ileconnection/


    Best Regards,
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

  3. #3
    Regular Contributor
    Join Date
    Mar 2009
    Posts
    78

    Question Re: Record Audio and send to server?

    Hi Friends,
    I am recording 5 sec audio file in .wav format and i send it to server this code working fine but when the connection is not available at the time of sending i saved audio file into RMS as a byte array and next time when connection is available i again sent the audio which is saved into RMS and it sent successfully but problem is that this time file is not played means when i send audio file from RMS it get corrupted can anybody tell me the solution of this problem?

Similar Threads

  1. Problem in sending audio from a phone to server
    By ankush_jain_iitb in forum Audio
    Replies: 3
    Last Post: 2009-07-13, 16:11
  2. Replies: 0
    Last Post: 2009-05-31, 13:08
  3. Record audio, save it and send it to a server
    By Koryphäe in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2009-04-21, 09:34
  4. Audio Capture and Streaming to a Server
    By pmcerlean in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2007-07-09, 15:02
  5. Half Duplex Audio Streaming
    By subhrajyotisaha in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-05-25, 04:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •