×

Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
  1. #16
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,490

    Re: SipRtpEx example

    Quote Originally Posted by a_barvar View Post
    Hi,
    When I add MultimediaDD capability, it is work in emulator and there is no error but when I try to execute in HW (E75) nothing happend.
    I dont think your adding capability has anything to do with it working on emulator. So the root cause is elsewhere. Follow the advise given already by mahbub_s60 and see what is going on.

  2. #17
    Registered User
    Join Date
    Mar 2009
    Posts
    15

    Re: SipRtpEx example

    Quote Originally Posted by mahbub_s60 View Post
    Hi,

    Good at least some progress. Now it looks that there is a leave (throwing exception) in your code that we need to catch. Best way you can do ondevice debug (TRK) or use file logger.

    See this thread http://discussion.forum.nokia.com/fo...d.php?t=196720 if you want to use file logger.
    there're TRK communication log:
    "
    ---IDE------------------------------------------------------
    Command: 0x40 Create Item
    Sub Cmd: Create Process
    Options: 0x00
    Length: 25
    File Path: e:\sys\bin\siprtpex.exe
    [40 06 00 00 00 00 19 65 3A 5C 73 79 73 5C 62 69
    6E 5C 73 69 70 72 74 70 65 78 2E 65 78 65 00 00]
    ---TRK------------------------------------------------------
    Command: 0x80 Acknowledge
    Error: 0x20 Unspecified general OS-related error
    [80 06 20]
    ---IDE------------------------------------------------------
    Command: 0x02 Disconnect
    [02 07]
    "
    and carbide alert "load failed"

    Well I'm going to do file logger.
    thanks
    Last edited by a_barvar; 2010-04-01 at 10:59.

  3. #18
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: SipRtpEx example

    I have not used TRK much, used some years back and this logs does not tell much.
    I recommend you follow the instruction as in this thread http://discussion.forum.nokia.com/fo...d.php?t=196720

    You type these at the be gaining of suspected functions like this

    void myclass::MySuspectedFunction()
    {
    TRACE_FUNC_ENTRY

    //other stuff

    TRACE_FUNC_EXIT
    }
    You run your app till crashes. Then take the log out from phone and see which one was the leaving function. Then focus on that. At least I use this technique.

  4. #19
    Registered User
    Join Date
    Mar 2009
    Posts
    15

    Re: SipRtpEx example

    Quote Originally Posted by mahbub_s60 View Post
    I have not used TRK much, used some years back and this logs does not tell much.
    I recommend you follow the instruction as in this thread http://discussion.forum.nokia.com/fo...d.php?t=196720

    You type these at the be gaining of suspected functions like this

    void myclass::MySuspectedFunction()
    {
    TRACE_FUNC_ENTRY

    //other stuff

    TRACE_FUNC_EXIT
    }
    You run your app till crashes. Then take the log out from phone and see which one was the leaving function. Then focus on that. At least I use this technique.
    I try that file logger. On the emulator the nt.txt is created and there are some log, but on the HW nt.txt does not create.
    SipRtpExApp.cpp is first location that I add logger. "GLDEF_C TInt E32Main()"

  5. #20
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: SipRtpEx example

    You create a folder in your phone's c drive.
    c:\logs\nt\
    In that folder nt.txt will appears and that you can take out for analysis.

    You can use any file browser for that.

  6. #21
    Registered User
    Join Date
    Mar 2009
    Posts
    15

    Re: SipRtpEx example

    Quote Originally Posted by mahbub_s60 View Post
    You create a folder in your phone's c drive.
    c:\logs\nt\
    In that folder nt.txt will appears and that you can take out for analysis.

    You can use any file browser for that.
    Yes I know. I create nt folder in c:\logs and SipRtpExApp.cpp is first location that I add logger in E32Main().
    Last edited by a_barvar; 2010-04-01 at 11:39.

  7. #22
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: SipRtpEx example

    Well, I get that always without any problem.
    You should use debug version of your app and include the debug library in mmp file.

  8. #23
    Registered User
    Join Date
    Mar 2009
    Posts
    15

    Re: SipRtpEx example

    Quote Originally Posted by mahbub_s60 View Post
    Well, I get that always without any problem.
    You should use debug version of your app and include the debug library in mmp file.
    Let me explain more:
    when I remove MultimediaDD capability from siprtpexappengine.mmp the application execute fine and nt.txt is created with some logs. but when I add MultimediaDD capability to siprtpexappengine.mmp the application can not execute and nt.txt file does not created.

  9. #24
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: SipRtpEx example

    Quote Originally Posted by a_barvar View Post
    Let me explain more:
    when I remove MultimediaDD capability from siprtpexappengine.mmp the application execute fine and nt.txt is created with some logs. but when I add MultimediaDD capability to siprtpexappengine.mmp the aplication can not execute and nt.txt file does not create.
    Are you using DLL that needs MultimediaDD capability?
    Just to mention, are you aware of the capability rules?

  10. #25
    Registered User
    Join Date
    Mar 2009
    Posts
    15

    Re: SipRtpEx example

    Quote Originally Posted by mahbub_s60 View Post
    Are you using DLL that needs MultimediaDD capability?
    Just to mention, are you aware of the capability rules?
    Well, you know siprtpexappengine is a dll on siprtpex project. I am going to add "VoIP Audio Services API" from 3rd party VoIP client to this project. at the first time I didn't add libaries. just I add MultimediaDD capability to mmp file. So what's wrong?
    When I Make/Signe "VoIPTestApp" project from from 3rd party VoIP client with MultimediaDD capability, it work without any problem.

    So what is wrong about the capability rules?

  11. #26
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: SipRtpEx example

    Hi,

    It looks to me it is some issue with Capability of the modules used in the project. It would be useful to consult with capability related doc in Forum Nokia wiki.

  12. #27
    Registered User
    Join Date
    Mar 2009
    Posts
    15

    Re: SipRtpEx example

    Thank you for your all answer.

Page 2 of 2 FirstFirst 12

Posting Permissions

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