×

Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Regular Contributor
    Join Date
    Dec 2006
    Posts
    59

    Re: KErrNotSupported when running the example in Audio Policy Server 2.3

    Still no clue...

    Am I right that the example running without a problem means that:
    - my certificates are OK and
    - there are no compatibility issues (like aps version, api version,...) ?

    I don't run the Example before I run my application, though it is still installed on the phones.

    I've tried compiling my application with

    iPSettings.iGlobal = _L("2000521C"); // use your app UID

    - this UID,
    - the UID of SIP Example application (which I'm using a lot of code from, I think this should be the right one, shouldn't it? "A00001EB")
    - the UID of the .dll it is part of ("A00001EE", also from SIPEx)

    The result is the same for all of them.

    Any ideas?
    Last edited by bifihi; 2008-01-04 at 22:29.

  2. #17
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Posts
    115

    Re: KErrNotSupported when running the example in Audio Policy Server 2.3

    Yes, the example running does mean the cert and version are okay.

    Have you use a different UID in the iPsetting line, for example:
    iPSettings.iGlobal = _L("A00001EB"); // use your app UID
    I believe this line is used to named the Message Queue, so we want to make sure the message queue name is unique.

    Given you have been stuck for so long, it may be good consider purchasing a support case and discuss with a dedicated support engineer. You can just send the whole source code for invesitigation.

    Cheers!

  3. #18
    Regular Contributor
    Join Date
    Dec 2006
    Posts
    59

    Re: KErrNotSupported when running the example in Audio Policy Server 2.3

    A rather stupid mistake.....

    In the example initialization and starting the loopback is done with two buttons in the GUI. I called the two functions in the code, the Initialize() function initializes the player, waits for completion (callback function) and then initializes the recorder but does not wait for the callback here.

    So, the player was ready (Error -11, already exists), but I didn't wait for the recorder. That's why it didn't work.

    At least I found it.




    My new question: I am reading buffers from the APS the way it's done in the Example and everytime I receive one I send it with
    iRtpAPI->SendRtpPacket(iOutputStreamId, iSendHeader, aBuffer).

    The function is called repeatedly and in the beginning doesn't return errors, but after something like 5 seconds the function starts to return with error -9 (overflow). I think this is because no packets are sent at all (or at least I cannot trace anything).

    What is the problem here? Do I have to use the asynchronous version of the function? Is it the parameters? Or could it even be that something is wrong with the IAP? Should i use another than the default network connection in iRtpAPI->OpenL( const TRtpSdesParams& aSdesInfo, const TDesC* aRtpPacketDll, const RSocketServ* aSocketServPtr, const RConnection* aConnPtr ) ?

    Thanks in advance!
    Last edited by bifihi; 2008-01-21 at 15:36.

  4. #19
    Regular Contributor
    Join Date
    Dec 2006
    Posts
    59

    Re: KErrNotSupported when running the example in Audio Policy Server 2.3

    Quote Originally Posted by bifihi View Post
    A rather stupid mistake.....
    My new question: I am reading buffers from the APS the way it's done in the Example and everytime I receive one I send it with
    iRtpAPI->SendRtpPacket(iOutputStreamId, iSendHeader, aBuffer).

    The function is called repeatedly and in the beginning doesn't return errors, but after something like 5 seconds the function starts to return with error -9 (overflow). I think this is because no packets are sent at all (or at least I cannot trace anything).

    What is the problem here? Do I have to use the asynchronous version of the function? Is it the parameters? Or could it even be that something is wrong with the IAP? Should i use another than the default network connection in iRtpAPI->OpenL( const TRtpSdesParams& aSdesInfo, const TDesC* aRtpPacketDll, const RSocketServ* aSocketServPtr, const RConnection* aConnPtr ) ?

    Thanks in advance!
    OK, I resolved this. Just too many logging messages to the GUI.

Similar Threads

  1. Web Server running on phone/PDA
    By David T. McKee in forum Mobile Java General
    Replies: 8
    Last Post: 2004-08-17, 15:42
  2. Running a MMS Server
    By saturim in forum General Messaging
    Replies: 1
    Last Post: 2003-10-01, 18:11
  3. Replies: 1
    Last Post: 2003-09-08, 12:58
  4. Nokia Activ Server 2.1 - problems
    By choumanb in forum WAP Servers
    Replies: 0
    Last Post: 2003-05-16, 07:34
  5. Errors trying to connect to server running SSL ( 443 )
    By Nokia_Archive in forum WAP Servers
    Replies: 1
    Last Post: 2002-05-16, 18:30

Posting Permissions

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