Application crash on Windows Mobile 5.0

SF
Samer Faour
Tue, Apr 22, 2008 10:36 PM

I am trying to perform a call between two Windows Mobile 5.0 iPAQ
hx2790 devices. I am using the correct SDKs while building the
application and the default codec configuration. The macro for WINCE
is set and config_site_sample.h is included as well. The application
window pops up on both devices.

  1. When I try to call from one of the devices. The application on the
    calling device terminates.
  2. The application on the receiving party's device does not exit and
    correctly displays Hangup and Exit, but with no real functionality
    since the calling party is no longer available and cannot reestablish
    a connection by opening the application due to: WSACONNECT failed
    address already in use or something like that.

Now this has been previously resolved as a pure codec issue where the
only codec that worked on the PDAs was GSM. (I tried every codec in
turn by giving it priority 1 and the remaining 0.) However, the sound
quality is not up to par with a lot of dropouts and latency and
optimizing GSM yielded no significant improvement. Besides it is
pointless when the higher bitrate and better quality A-Law and Mu-Law
versions of G.711, PCMA and PCMU, are available.

I believe the problem may be with these devices in particular. Both
have been upgraded to the newest firmware, software, and drivers
available. Task manager on the PDAs showed normal CPU utilization when
running the application so that is not an issue. Kindly find the log
files attached. Any help on this matter would be much appreciated.

Regards,
Samer


Samer M. Faour
Computer and Communications Engineering
American University of Beirut
P.O. Box 11-0236/ 1461
Riad el Solh Square 1107 - 2020
Email: smf18@aub.edu.lb


I am trying to perform a call between two Windows Mobile 5.0 iPAQ hx2790 devices. I am using the correct SDKs while building the application and the default codec configuration. The macro for WINCE is set and config_site_sample.h is included as well. The application window pops up on both devices. 1. When I try to call from one of the devices. The application on the calling device terminates. 2. The application on the receiving party's device does not exit and correctly displays Hangup and Exit, but with no real functionality since the calling party is no longer available and cannot reestablish a connection by opening the application due to: WSACONNECT failed address already in use or something like that. Now this has been previously resolved as a pure codec issue where the only codec that worked on the PDAs was GSM. (I tried every codec in turn by giving it priority 1 and the remaining 0.) However, the sound quality is not up to par with a lot of dropouts and latency and optimizing GSM yielded no significant improvement. Besides it is pointless when the higher bitrate and better quality A-Law and Mu-Law versions of G.711, PCMA and PCMU, are available. I believe the problem may be with these devices in particular. Both have been upgraded to the newest firmware, software, and drivers available. Task manager on the PDAs showed normal CPU utilization when running the application so that is not an issue. Kindly find the log files attached. Any help on this matter would be much appreciated. Regards, Samer ________________________________________ Samer M. Faour Computer and Communications Engineering American University of Beirut P.O. Box 11-0236/ 1461 Riad el Solh Square 1107 - 2020 Email: smf18@aub.edu.lb ----------------------------------------------------------------
RK
Roland Klabunde
Tue, Apr 22, 2008 10:58 PM

Now this has been previously resolved as a pure codec issue where the
only codec that worked on the PDAs was GSM. (I tried every codec in
turn by giving it priority 1 and the remaining 0.) However, the sound
quality is not up to par with a lot of dropouts and latency and
optimizing GSM yielded no significant improvement. Besides it is
pointless when the higher bitrate and better quality A-Law and Mu-Law
versions of G.711, PCMA and PCMU, are available.

I can confirm the poor sound quality (G.711u). Watched with two ASUS PDAs,
Windows Mobile 6, wince_demo. VAD and echo canceller are off (Benny, the
final switch was indeed not set, but is now, so the half duplex problem has
gone).

The sound is some sort of "robotic" noise, worth to be used in Star Wars
next episode :)

Doesn't help much, I know...

I cannot confirm the hanging.

Regards

> Now this has been previously resolved as a pure codec issue where the > only codec that worked on the PDAs was GSM. (I tried every codec in > turn by giving it priority 1 and the remaining 0.) However, the sound > quality is not up to par with a lot of dropouts and latency and > optimizing GSM yielded no significant improvement. Besides it is > pointless when the higher bitrate and better quality A-Law and Mu-Law > versions of G.711, PCMA and PCMU, are available. I can confirm the poor sound quality (G.711u). Watched with two ASUS PDAs, Windows Mobile 6, wince_demo. VAD and echo canceller are off (Benny, the final switch was indeed not set, but is now, so the half duplex problem has gone). The sound is some sort of "robotic" noise, worth to be used in Star Wars next episode :) Doesn't help much, I know... I cannot confirm the hanging. Regards
BP
Benny Prijono
Tue, Apr 22, 2008 11:23 PM

On Tue, Apr 22, 2008 at 11:58 PM, Roland Klabunde
roland.klabunde@freenet.de wrote:

Now this has been previously resolved as a pure codec issue where the
only codec that worked on the PDAs was GSM. (I tried every codec in
turn by giving it priority 1 and the remaining 0.) However, the sound
quality is not up to par with a lot of dropouts and latency and
optimizing GSM yielded no significant improvement. Besides it is
pointless when the higher bitrate and better quality A-Law and Mu-Law
versions of G.711, PCMA and PCMU, are available.

I can confirm the poor sound quality (G.711u). Watched with two ASUS PDAs,
Windows Mobile 6, wince_demo. VAD and echo canceller are off (Benny, the
final switch was indeed not set, but is now, so the half duplex problem has
gone).

The sound is some sort of "robotic" noise, worth to be used in Star Wars
next episode :)

Doesn't help much, I know...

I cannot confirm the hanging.

I think you guys are having different problems.

Roland, I think you're using SVN version, and in SVN we have new
feature called WSOLA which is supposed to improve quality. It seems
that the algorithm probably is too heavy for PDA's so it produces the
Star Wars effect (on different occasion I might call this a feature
;-) ).

Samer, I think you're using 0.8 release version, hence the crash. You
can try with upgrading to the latest version and see if you still have
the crash (you may, of course, get the Star Wars effect as what Roland
describes :) ).

Let me create a configuration to disable WSOLA for PDA's and get back
to you soon.

Cheers
Benny

Regards

On Tue, Apr 22, 2008 at 11:58 PM, Roland Klabunde <roland.klabunde@freenet.de> wrote: > > Now this has been previously resolved as a pure codec issue where the > > only codec that worked on the PDAs was GSM. (I tried every codec in > > turn by giving it priority 1 and the remaining 0.) However, the sound > > quality is not up to par with a lot of dropouts and latency and > > optimizing GSM yielded no significant improvement. Besides it is > > pointless when the higher bitrate and better quality A-Law and Mu-Law > > versions of G.711, PCMA and PCMU, are available. > > I can confirm the poor sound quality (G.711u). Watched with two ASUS PDAs, > Windows Mobile 6, wince_demo. VAD and echo canceller are off (Benny, the > final switch was indeed not set, but is now, so the half duplex problem has > gone). > > The sound is some sort of "robotic" noise, worth to be used in Star Wars > next episode :) > > Doesn't help much, I know... > > I cannot confirm the hanging. > I think you guys are having different problems. Roland, I think you're using SVN version, and in SVN we have new feature called WSOLA which is supposed to improve quality. It seems that the algorithm probably is too heavy for PDA's so it produces the Star Wars effect (on different occasion I might call this a feature ;-) ). Samer, I think you're using 0.8 release version, hence the crash. You can try with upgrading to the latest version and see if you still have the crash (you may, of course, get the Star Wars effect as what Roland describes :) ). Let me create a configuration to disable WSOLA for PDA's and get back to you soon. Cheers Benny > Regards >
RK
Roland Klabunde
Wed, Apr 23, 2008 12:25 PM

Roland, I think you're using SVN version, and in SVN we have new
feature called WSOLA which is supposed to improve quality. It seems
that the algorithm probably is too heavy for PDA's so it produces the
Star Wars effect (on different occasion I might call this a feature
;-) ).

Confirmed. WSOLA is called.

Let me create a configuration to disable WSOLA for PDA's and get back
to you soon.

Do you already have one?

Regards

> Roland, I think you're using SVN version, and in SVN we have new > feature called WSOLA which is supposed to improve quality. It seems > that the algorithm probably is too heavy for PDA's so it produces the > Star Wars effect (on different occasion I might call this a feature > ;-) ). Confirmed. WSOLA is called. > Let me create a configuration to disable WSOLA for PDA's and get back > to you soon. Do you already have one? Regards
BP
Benny Prijono
Wed, Apr 23, 2008 4:09 PM

On Wed, Apr 23, 2008 at 1:25 PM, Roland Klabunde
roland.klabunde@freenet.de wrote:

Roland, I think you're using SVN version, and in SVN we have new
feature called WSOLA which is supposed to improve quality. It seems
that the algorithm probably is too heavy for PDA's so it produces the
Star Wars effect (on different occasion I might call this a feature
;-) ).

Confirmed. WSOLA is called.

Let me create a configuration to disable WSOLA for PDA's and get back
to you soon.

Do you already have one?

Just committed in r1941. I added configuration to disable WSOLA (see
PJMEDIA_WSOLA_IMP macro in pjmedia/config.h), and set the default to
disabled for WinCE and Symbian.

Thanks
Benny

On Wed, Apr 23, 2008 at 1:25 PM, Roland Klabunde <roland.klabunde@freenet.de> wrote: > > Roland, I think you're using SVN version, and in SVN we have new > > feature called WSOLA which is supposed to improve quality. It seems > > that the algorithm probably is too heavy for PDA's so it produces the > > Star Wars effect (on different occasion I might call this a feature > > ;-) ). > > Confirmed. WSOLA is called. > > > > Let me create a configuration to disable WSOLA for PDA's and get back > > to you soon. > > Do you already have one? > Just committed in r1941. I added configuration to disable WSOLA (see PJMEDIA_WSOLA_IMP macro in pjmedia/config.h), and set the default to disabled for WinCE and Symbian. Thanks Benny
RK
Roland Klabunde
Wed, Apr 23, 2008 6:42 PM

Thanks.

Regards

----- Original Message -----
From: "Benny Prijono" bennylp@pjsip.org
To: "pjsip list" pjsip@lists.pjsip.org
Sent: Wednesday, April 23, 2008 6:09 PM
Subject: Re: [pjsip] Application crash on Windows Mobile 5.0

On Wed, Apr 23, 2008 at 1:25 PM, Roland Klabunde
roland.klabunde@freenet.de wrote:

Roland, I think you're using SVN version, and in SVN we have new
feature called WSOLA which is supposed to improve quality. It seems
that the algorithm probably is too heavy for PDA's so it produces the
Star Wars effect (on different occasion I might call this a feature
;-) ).

Confirmed. WSOLA is called.

Let me create a configuration to disable WSOLA for PDA's and get back
to you soon.

Do you already have one?

Just committed in r1941. I added configuration to disable WSOLA (see
PJMEDIA_WSOLA_IMP macro in pjmedia/config.h), and set the default to
disabled for WinCE and Symbian.

Thanks
Benny


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Thanks. Regards ----- Original Message ----- From: "Benny Prijono" <bennylp@pjsip.org> To: "pjsip list" <pjsip@lists.pjsip.org> Sent: Wednesday, April 23, 2008 6:09 PM Subject: Re: [pjsip] Application crash on Windows Mobile 5.0 > On Wed, Apr 23, 2008 at 1:25 PM, Roland Klabunde > <roland.klabunde@freenet.de> wrote: >> > Roland, I think you're using SVN version, and in SVN we have new >> > feature called WSOLA which is supposed to improve quality. It seems >> > that the algorithm probably is too heavy for PDA's so it produces the >> > Star Wars effect (on different occasion I might call this a feature >> > ;-) ). >> >> Confirmed. WSOLA is called. >> >> >> > Let me create a configuration to disable WSOLA for PDA's and get back >> > to you soon. >> >> Do you already have one? >> > > Just committed in r1941. I added configuration to disable WSOLA (see > PJMEDIA_WSOLA_IMP macro in pjmedia/config.h), and set the default to > disabled for WinCE and Symbian. > > Thanks > Benny > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >