Discussion Board

Results 1 to 1 of 1
  1. #1
    Regular Contributor
    Join Date
    Nov 2004

    isn't audio recording streamable?

    Hi dear all,
    With WTK22, I am doing audio recording to wav format at client and send it to server by stream. I found out that client will not send any data out until it finish recording by recordControl.commit.
    Am I doing something wrong or that's the fact? Any Nokia phone support audio streaming, or should I use other format?

    I read from Sun (See below) wav audio format is not streamable since some fields in the header can only be filled after finish recording.
    If I want to have the realtime (nearly) audio, what should I do?

    Here is my recorder code.
    try {
    	// Create a DataSource that captures live audio.
    	p = Manager.createPlayer("capture://audio");
        // Get the RecordControl, set the record location, and 
        // start the Player and record for 5 seconds.
        rc = (RecordControl)p.getControl("RecordControl");
        debugInfo("Set record to out stream");
    	try {
    	} catch (InterruptedException ie) {
    } catch (IOException ioe) {
    } catch (MediaException me) {
    Any suggestions, hint etc will be appreciated.
    Last edited by aluckybird; 2004-12-13 at 17:18.

Posting Permissions

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