Re: [Opalvoip-user] Application recording use 100% cpu when receiving call
Brought to you by:
csoutheren,
rjongbloed
From: VEYSSIERE N. <nic...@th...> - 2014-07-09 12:44:36
|
Update : because I was able to update to v3.14.1 (static link, see my other post), I can confirm that even the latest stable use 100% on somes call, and the generated wave file is empty (not really, it contains the wave riff header). What can cause this ? -- Nicolas V. De : VEYSSIERE Nicolas [mailto:nic...@th...] Envoyé : mardi 8 juillet 2014 18:29 À : opa...@li... Objet : [Opalvoip-user] Application recording use 100% cpu when receiving call Hello, I try to develop an application recording calls, I used the record sample application as example. Because sometimes my soft is using 100% cpu power when a call is received (sip or h323). When this happens, the file is created but no data is written to it. Because I tried to find if it is a problem in my code, I tried to use the opal record sample application to find if it happens also. And because the sample application is doing the same thing, I would like to know if it is normal and have been corrected. Here is the stack of the thread using 100% cpu : 0 KiFastSystemCallRet ntdll 0x7c91e514 1 NtDelayExecution ntdll 0x7c91d21a 2 SleepEx kernel32 0x7c8023f1 3 PThread::Sleep win32.cxx 1178 0x103fb721 4 OpalMediaPatch::Main patch.cxx 745 0x13c79f5 5 PThreadObj<OpalMediaPatch>::Main thread.h 664 0x13cbab3 6 PThread::MainFunction win32.cxx 853 0x103f993d 7 _callthreadstartex threadex.c 314 0x54a293 8 _threadstartex threadex.c 297 0x54a224 9 BaseThreadStart kernel32 0x7c80b729 Any help appreciated. PTLib v2.14.0 Opal v3.14.1 Best regards. -- Nicolas V. |