WinCE Unsupported Wave Format

IA
Imran Akthar
Sat, Apr 9, 2011 12:59 PM

Hi Experts,
I have this pjsip build pjproject-1.8.10 .
I am trying to run it on windows 5 mobile. In my config file, i have set it
to use wmme direct.

#ifndef PJ_WIN32_WINCE
#define PJ_WIN32_WINCE 1
#endif
#define PJ_CONFIG_WIN32_WMME_DIRECT    1
#include <pj/config_site_sample.h>

#define PJMEDIA_HAS_G729_CODEC        0
#define PJMEDIA_HAS_L16_CODEC        0
#define PJMEDIA_HAS_G711_CODEC        0
#define PJMEDIA_HAS_GSM_CODEC        0
#define PJMEDIA_HAS_ILBC_CODEC        0
#define PJMEDIA_HAS_G722_CODEC        0
#define PJMEDIA_HAS_SPEEX_CODEC        0
#define PJMEDIA_HAS_G7221_CODEC        0

When i am running the pcokect pc app, the registration is happening. But
when i am trying to make a call, this is what i am seeing in the log file .
This is the snippet of the log

03:43:12.330 sip_endpoint.c  Module "mod-invite" registered
03:43:12.345    wmme_dev.c  WMME initialized, found 4 devices:
03:43:12.346    wmme_dev.c  dev_id 0: Wave mapper  (in=2, out=2)
03:43:12.346    wmme_dev.c  dev_id 1: Audio Input  (in=2, out=0)
03:43:12.347    wmme_dev.c  dev_id 2: Audio Output  (in=0, out=1)
03:43:12.347    wmme_dev.c  dev_id 3: Bluetooth Advanced Audio Output
(in=0, out=2)
03:43:12.352          pjlib  select() I/O Queue created (00105204)
03:43:12.355  conf_switch.c  Creating conference bridge with 8 ports
03:43:12.356  conf_switch.c  Sound device successfully created for port 0
03:43:12.453 sip_endpoint.c  Module "mod-evsub" registered

03:43:22.490    tsx0015B524  Incoming Response msg 183/INVITE/cseq=27803
(rdata00150044) in state Proceeding
03:43:22.491    tsx0015B524  State changed from Proceeding to Proceeding,
event=RX_MSG
03:43:22.491    dlg0015C204  Received Response msg 183/INVITE/cseq=27803
(rdata00150044)
03:43:22.492    dlg0015C204  Route-set updated
03:43:22.492    dlg0015C204  Transaction tsx0015B524 state changed to
Proceeding
03:43:22.524    inv0015C204  Got SDP answer in Response msg
183/INVITE/cseq=27803 (rdata00150044)
03:43:22.529    inv0015C204  SDP negotiation done, status=0
03:43:22.529  pjsua_call.c  Call 0: remote NAT type is 0 (Unknown)
03:43:22.542          rtp.c  pjmedia_rtp_session_init: ses=001657D0,
default_pt=0, ssrc=0x548637b2
03:43:22.543          rtp.c  pjmedia_rtp_session_init: ses=00165DF4,
default_pt=0, ssrc=0x548637b2
03:43:22.549      stream.c  Stream strm00163F64 created
03:43:22.550  strm00163F64  Encoder stream started
03:43:22.552  strm00163F64  Decoder stream started
03:43:22.555  pjsua_media.c  Media updates, stream #0: PCMU (sendrecv)
03:43:22.557  pjsua_media.c  Opening sound device uLAW@8000/1/20ms
03:43:22.587  pjsua_media.c  Error opening sound device: Unsupported wave
format [status=452031]
03:43:22.588  pjsua_media.c  Opening sound device uLAW@8000/1/20ms
03:43:22.592  pjsua_media.c  Error opening sound device: Unsupported wave
format [status=452031]

03:43:22.687 sip_endpoint.c  Processing incoming message: Response msg
183/INVITE/cseq=27803 (rdata00150044)
03:43:22.688  pjsua_core.c  RX 567 bytes Response msg
183/INVITE/cseq=27803 (rdata00150044) from UDP xxx.64.229.74:5060:

Can any one point me to the correct way in resolving this issue?

Thanks
Imran

Hi Experts, I have this pjsip build pjproject-1.8.10 . I am trying to run it on windows 5 mobile. In my config file, i have set it to use wmme direct. #ifndef PJ_WIN32_WINCE #define PJ_WIN32_WINCE 1 #endif #define PJ_CONFIG_WIN32_WMME_DIRECT 1 #include <pj/config_site_sample.h> #define PJMEDIA_HAS_G729_CODEC 0 #define PJMEDIA_HAS_L16_CODEC 0 #define PJMEDIA_HAS_G711_CODEC 0 #define PJMEDIA_HAS_GSM_CODEC 0 #define PJMEDIA_HAS_ILBC_CODEC 0 #define PJMEDIA_HAS_G722_CODEC 0 #define PJMEDIA_HAS_SPEEX_CODEC 0 #define PJMEDIA_HAS_G7221_CODEC 0 When i am running the pcokect pc app, the registration is happening. But when i am trying to make a call, this is what i am seeing in the log file . This is the snippet of the log 03:43:12.330 sip_endpoint.c Module "mod-invite" registered 03:43:12.345 wmme_dev.c WMME initialized, found 4 devices: 03:43:12.346 wmme_dev.c dev_id 0: Wave mapper (in=2, out=2) 03:43:12.346 wmme_dev.c dev_id 1: Audio Input (in=2, out=0) 03:43:12.347 wmme_dev.c dev_id 2: Audio Output (in=0, out=1) 03:43:12.347 wmme_dev.c dev_id 3: Bluetooth Advanced Audio Output (in=0, out=2) 03:43:12.352 pjlib select() I/O Queue created (00105204) 03:43:12.355 conf_switch.c Creating conference bridge with 8 ports 03:43:12.356 conf_switch.c Sound device successfully created for port 0 03:43:12.453 sip_endpoint.c Module "mod-evsub" registered 03:43:22.490 tsx0015B524 Incoming Response msg 183/INVITE/cseq=27803 (rdata00150044) in state Proceeding 03:43:22.491 tsx0015B524 State changed from Proceeding to Proceeding, event=RX_MSG 03:43:22.491 dlg0015C204 Received Response msg 183/INVITE/cseq=27803 (rdata00150044) 03:43:22.492 dlg0015C204 Route-set updated 03:43:22.492 dlg0015C204 Transaction tsx0015B524 state changed to Proceeding 03:43:22.524 inv0015C204 Got SDP answer in Response msg 183/INVITE/cseq=27803 (rdata00150044) 03:43:22.529 inv0015C204 SDP negotiation done, status=0 03:43:22.529 pjsua_call.c Call 0: remote NAT type is 0 (Unknown) 03:43:22.542 rtp.c pjmedia_rtp_session_init: ses=001657D0, default_pt=0, ssrc=0x548637b2 03:43:22.543 rtp.c pjmedia_rtp_session_init: ses=00165DF4, default_pt=0, ssrc=0x548637b2 03:43:22.549 stream.c Stream strm00163F64 created 03:43:22.550 strm00163F64 Encoder stream started 03:43:22.552 strm00163F64 Decoder stream started 03:43:22.555 pjsua_media.c Media updates, stream #0: PCMU (sendrecv) 03:43:22.557 pjsua_media.c Opening sound device uLAW@8000/1/20ms 03:43:22.587 pjsua_media.c Error opening sound device: Unsupported wave format [status=452031] 03:43:22.588 pjsua_media.c Opening sound device uLAW@8000/1/20ms 03:43:22.592 pjsua_media.c *Error opening sound device: Unsupported wave format [status=452031]* 03:43:22.687 sip_endpoint.c Processing incoming message: Response msg 183/INVITE/cseq=27803 (rdata00150044) 03:43:22.688 pjsua_core.c RX 567 bytes Response msg 183/INVITE/cseq=27803 (rdata00150044) from UDP xxx.64.229.74:5060: Can any one point me to the correct way in resolving this issue? Thanks Imran
IA
Imran Akthar
Sun, Apr 10, 2011 10:01 AM

Is it because of the hardware?I am porting and testing it on a htc dopod
windows mobile 5 ver.

Imran

Is it because of the hardware?I am porting and testing it on a htc dopod windows mobile 5 ver. Imran
IA
Imran Akthar
Fri, Apr 15, 2011 4:08 AM

Hi,
Has any one had the issue "Error opening sound device: Unsupported wave
format [status=452031]
" while porting to wince platform?

Imran
On Sun, Apr 10, 2011 at 3:31 PM, Imran Akthar imranakthar@gmail.com wrote:

Is it because of the hardware?I am porting and testing it on a htc dopod
windows mobile 5 ver.

Imran

Hi, Has any one had the issue "*Error opening sound device: Unsupported wave format [status=452031]*" while porting to wince platform? Imran On Sun, Apr 10, 2011 at 3:31 PM, Imran Akthar <imranakthar@gmail.com> wrote: > Is it because of the hardware?I am porting and testing it on a htc dopod > windows mobile 5 ver. > > > Imran >
C
CharlesFan
Fri, Apr 15, 2011 7:37 AM

I think There is something wrong with wince audio driver.

Charles


发件人: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
代表 Imran Akthar
发送时间: 2011年4月15日 12:08
收件人: pjsip@lists.pjsip.org
主题: Re: [pjsip] WinCE Unsupported Wave Format

Hi,
Has any one had the issue "Error opening sound device: Unsupported wave
format [status=452031]" while porting to wince platform?

Imran

On Sun, Apr 10, 2011 at 3:31 PM, Imran Akthar imranakthar@gmail.com wrote:

Is it because of the hardware?I am porting and testing it on a htc dopod
windows mobile 5 ver.

Imran

I think There is something wrong with wince audio driver. Charles _____ 发件人: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] 代表 Imran Akthar 发送时间: 2011年4月15日 12:08 收件人: pjsip@lists.pjsip.org 主题: Re: [pjsip] WinCE Unsupported Wave Format Hi, Has any one had the issue "Error opening sound device: Unsupported wave format [status=452031]" while porting to wince platform? Imran On Sun, Apr 10, 2011 at 3:31 PM, Imran Akthar <imranakthar@gmail.com> wrote: Is it because of the hardware?I am porting and testing it on a htc dopod windows mobile 5 ver. Imran