×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Registered User
    Join Date
    Feb 2010
    Location
    India
    Posts
    281

    Question Audio Proxy Server(APS) 2.4.3 Initialization Problem

    I am trying to use the APS 2.4.3 API for S60 5th Edition mobiles. I downloaded AudioProxyServer_v2.43 API plugin and installed,
    then imported the AudioProxyServer_v2.43 example project into Carbide.
    In the streamerengine .cpp I entered my app UID in iRSettings.iGlobal and iPSettings.iGlobal .
    I signed this application using developer certification. I used Nokia 5230 mobile to tested this application.
    Problem is Application not able to initialize ..program automatically exit while trying to initialize.

    void CStreamerEngine::Settings()
    {
    iRSettings.iGlobal = _L("0x2000521C"); // use your app UID
    iPSettings.iGlobal = _L("0x2000521C"); // use your app UID

    // Recorder settings
    iRSettings.iPriority = TMdaPriority(100);
    iRSettings.iPreference = TMdaPriorityPreference(0x05210001);
    iRSettings.iSettings.iChannels = EMMFMono;
    iRSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz;

    // Player settings
    iPSettings.iSettings.iVolume = 0;
    iPSettings.iPriority = TMdaPriority(100);
    iPSettings.iPreference = TMdaPriorityPreference(0x05220001);
    iPSettings.iSettings.iChannels = EMMFMono;
    iPSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz;
    }

    example code
    Download APS 2.4.3.zip


    I am waiting for your reply. why application exits ?
    Last edited by mail2karthi07; 2010-09-13 at 10:05.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem


  3. #3
    Registered User
    Join Date
    Feb 2010
    Location
    India
    Posts
    281

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    There is no panic. simply application exit while i initialize audio device..
    the following line makes application exit.

    iSession.InitializePlayer(iPSettings);

    codec settings below...

    void CStreamerEngine::SetG711()
    {
    if (iStatus == ENotReady && iCurrentCodec != ECodecG711)
    {
    iRSettings.iFourCC = TFourCC(KMCPFourCCIdG711); //('G', '7', '1', '1')
    iPSettings.iFourCC = TFourCC(KMCPFourCCIdG711);
    iCurrentCodec = ECodecG711;
    iView->DrawText(_L("G711 codec selected"));
    }
    }

    TAPSInitSettings iPSettings;
    TAPSInitSettings iRSettings;

    I think TAPSInitSettings problem.. i dont know where exactly..please point out which attribute makes a problem and whether S60 5th edition support APS 2.4.3 ?

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    Quote Originally Posted by mail2karthi07 View Post
    There is no panic. simply application exit while i initialize audio device..
    Phones remain totally silent about panics until that ErrRd file gets installed to them. The screenshots in that page come from the emulator.

  5. #5
    Registered User
    Join Date
    Feb 2010
    Location
    India
    Posts
    281

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    thank you for remain me to install ErrRd file. now the panic is KERN-EXEC 0 . please point out the problem

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    Search for KERN-EXEC 0 in the SDK Help. Practically it means that you are using an object (typically some R-class) which is not initialized properly (instantiating an R-class is usually not enough, it has to be Open/Connect/SomethingElse-ed).

  7. #7
    Registered User
    Join Date
    Feb 2010
    Location
    India
    Posts
    281

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    Quote Originally Posted by wizard_hu_ View Post
    Search for KERN-EXEC 0 in the SDK Help. Practically it means that you are using an object (typically some R-class) which is not initialized properly (instantiating an R-class is usually not enough, it has to be Open/Connect/SomethingElse-ed).
    thank you..when connect to RAPSSession ... Connect() gives me -5 (
    KErrNotSupported )..

    capability used :-
    CAPABILITY MultimediaDD WriteDeviceData ReadDeviceData


    .....................

  8. #8
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,073

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    Have you installed the supporting sisx file in your device which is included with the APS plugin?

  9. #9
    Registered User
    Join Date
    Feb 2010
    Location
    India
    Posts
    281

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    Quote Originally Posted by vineet.jain View Post
    Have you installed the supporting sisx file in your device which is included with the APS plugin?
    Yes I installed supporting sisx. I used S60 5th edition SDK to build this application. find the code in #1

    whether S60 5th edition support APS 2.4.3 ?

  10. #10
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    APS does not seem to appear in the S60 5th plugin pack (and neither in the S60 3rd FP2), so it can easily happen that it is not supported. The plugin packs do not promise compatibility with future platform releases.

  11. #11
    Registered User
    Join Date
    Feb 2010
    Location
    India
    Posts
    281

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    How to check whether APS server is running?

  12. #12
    Registered User
    Join Date
    Feb 2010
    Location
    India
    Posts
    281

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    Quote Originally Posted by wizard_hu_ View Post
    APS does not seem to appear in the S60 5th plugin pack (and neither in the S60 3rd FP2), so it can easily happen that it is not supported. The plugin packs do not promise compatibility with future platform releases.
    Is there any sisx available to monitor process, task and server ?

  13. #13
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    Jukka's Y-Tasks can list you the running processes, http://www.drjukka.com

  14. #14
    Registered User
    Join Date
    Feb 2010
    Location
    India
    Posts
    281

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    Quote Originally Posted by wizard_hu_ View Post
    Jukka's Y-Tasks can list you the running processes, http://www.drjukka.com
    € 2.00 need to download Y-Tasks ..

    Any free tools available?

  15. #15
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,073

    Re: Audio Proxy Server(APS) 2.4.3 Initialization Problem

    No, i don't think so, its a free version i suppose. http://www.drjukka.com/YTasks.html

Similar Threads

  1. Replies: 1
    Last Post: 2009-02-19, 13:53
  2. APS - Audio Proxy Server
    By say2paul in forum Symbian
    Replies: 7
    Last Post: 2008-10-31, 15:11
  3. Audio Proxy Server APS
    By gpalvia in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-06-29, 08:24

Posting Permissions

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