Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User kck809's Avatar
    Join Date
    Jul 2007
    Posts
    40
    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 vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,840
    try muting the voice coming from other side, while you play the audio.

  3. #3
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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 vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,840
    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 kck809's Avatar
    Join Date
    Jul 2007
    Posts
    40
    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 kck809's Avatar
    Join Date
    Jul 2007
    Posts
    40
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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 Python
    Replies: 1
    Last Post: 2006-08-08, 15:47
  4. Problem recording audio on Nokia 3650
    By baykouchev in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved