×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Question audio echo problem when recording and playing audio

    Hi friends,

    I am developing an application that phone record audio and send it the server, and the server also can send

    audio to the phone, then phone can play it, but the phone also record the audio which it is playing.

    so it will cause voice looing.

    I use CCMRMediaRecorder to record video and audio, and CMdaAudioOutputStream to play the received audio.

    any body has some idea? thanks a lot

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,956

    Re: audio echo problem when recording and playing audio

    try muting the voice coming from other side, while you play the audio.

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: audio echo problem when recording and playing audio

    CMdaAudioOutputStream routes sound to the loudspeaker, and the microphone can hear that. Since you already use magical API-s, you may consider checking VoIP Audio Service API and route sound to the earpiece (or whatever its name is).

  4. #4
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,956

    Re: audio echo problem when recording and playing audio

    for audio routing purpose you can go through the following link:

    http://wiki.forum.nokia.com/index.php/Audio_Routing_API

  5. #5
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Re: audio echo problem when recording and playing audio

    Quote Originally Posted by vineet.jain View Post
    for audio routing purpose you can go through the following link:

    http://wiki.forum.nokia.com/index.php/Audio_Routing_API
    Thanks a lot.

    I will try to use voip api, and post the result asap.

  6. #6
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Re: audio echo problem when recording and playing audio

    Quote Originally Posted by wizard_hu_ View Post
    CMdaAudioOutputStream routes sound to the loudspeaker, and the microphone can hear that. Since you already use magical API-s, you may consider checking VoIP Audio Service API and route sound to the earpiece (or whatever its name is).
    VoIP Audio Service API can control where does sound route to, right?

    It can route to earpiece or loudspeaker or both, but microphone can not hear that,

    so it will not cause voice looping, right?

    Thanks

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: audio echo problem when recording and playing audio

    Quote Originally Posted by kck809 View Post
    VoIP Audio Service API can control where does sound route to, right?
    Now I am not sure about that - so far I was driven by the statement "It removes the need for use of Audio Proxy Server (APS) on S60 3rd Edition, Feature Pack 1 and Feature Pack 2", but since there is a separate Audio Routing API, that one sounds better - if it exists for your device+SDK of course.

Similar Threads

  1. problem while recording and playing audia simultaneously
    By srivvivek in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2008-07-09, 15:02
  2. Replies: 7
    Last Post: 2007-02-07, 18:12
  3. Problem recording audio
    By bps4484 in forum Symbian
    Replies: 1
    Last Post: 2006-08-08, 15:47
  4. Problem recording audio on Nokia 3650
    By baykouchev in forum Symbian
    Replies: 2
    Last Post: 2004-06-02, 19:38
  5. Replies: 3
    Last Post: 2004-04-26, 14:58

Posting Permissions

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