-
Re: SipRtpEx example
[QUOTE=a_barvar;720301]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.[/QUOTE]
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.
-
Re: SipRtpEx example
[QUOTE=mahbub_s60;720400]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 [URL="http://discussion.forum.nokia.com/forum/showthread.php?t=196720"]http://discussion.forum.nokia.com/forum/showthread.php?t=196720[/URL] if you want to use file logger.[/QUOTE]
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
-
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 [URL="http://discussion.forum.nokia.com/forum/showthread.php?t=196720"]http://discussion.forum.nokia.com/forum/showthread.php?t=196720[/URL]
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.
-
Re: SipRtpEx example
[QUOTE=mahbub_s60;720787]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 [URL="http://discussion.forum.nokia.com/forum/showthread.php?t=196720"]http://discussion.forum.nokia.com/forum/showthread.php?t=196720[/URL]
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.[/QUOTE]
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()"
-
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.
-
Re: SipRtpEx example
[QUOTE=mahbub_s60;720800]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.[/QUOTE]
Yes I know. I create nt folder in c:\logs and SipRtpExApp.cpp is first location that I add logger in E32Main().
-
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.
-
Re: SipRtpEx example
[QUOTE=mahbub_s60;720808]Well, I get that always without any problem.
You should use debug version of your app and include the debug library in mmp file.[/QUOTE]
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.
-
Re: SipRtpEx example
[QUOTE=a_barvar;720814]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.[/QUOTE]
Are you using DLL that needs MultimediaDD capability?
Just to mention, are you aware of the capability rules?
-
Re: SipRtpEx example
[QUOTE=mahbub_s60;720817]Are you using DLL that needs MultimediaDD capability?
Just to mention, are you aware of the capability rules?[/QUOTE]
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?
-
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.
-
Re: SipRtpEx example
Thank you for your all answer.