linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Audio distortion when using ARM device Bug i


From: menno
Subject: Re: [Linphone-developers] Audio distortion when using ARM device Bug i think
Date: Sun, 8 Aug 2010 21:05:48 +0200
User-agent: SquirrelMail/1.4.18

There are some problems with the hardware i think. I use a simple 48Khz
soundcard. (The period size 256 is not supported by your hardware.).

Can i resolve this problem? Because i get distortion in oneway audio (only
mic to other device, not from other device to headphone).

This is the linphone short debug log:
ortp-message-synchronizing timestamp, diff=480
ortp-message-alsa_open_r: opening default:0 at 8000Hz, bits=16, stereo=0
ortp-warning-alsa_set_params: The period size 256 is not supported by your
hardware.
 ==> Using 170 instead.
ortp-warning-alsa_set_params: periodsize:256 Using 170
ortp-warning-alsa_set_params: period:8 Using 8
ortp-message-alsa_open_w: Audio params set
ortp-message-bandwidth usage: audio=[d=80.7,u=81.5] video=[d=0.0,u=0.0]
kbit/sec

linphonec> ortp-message-bandwidth usage: audio=[d=80.1,u=79.4]
video=[d=0.0,u=0.0] kbit/sec
ortp-message-synchronizing timestamp, diff=240
ortp-message-bandwidth usage: audio=[d=56.0,u=82.5] video=[d=0.0,u=0.0]
kbit/sec
ortp-message-bandwidth usage: audio=[d=0.0,u=80.8] video=[d=0.0,u=0.0]
kbit/sec
ortp-message-bandwidth usage: audio=[d=0.0,u=82.4] video=[d=0.0,u=0.0]
kbit/sec
ortp-message-bandwidth usage: audio=[d=0.0,u=80.0] video=[d=0.0,u=0.0]
kbit/sec
ortp-message-bandwidth usage: audio=[d=0.0,u=81.5] video=[d=0.0,u=0.0]
kbit/sec
ortp-message-bandwidth usage: audio=[d=0.0,u=81.3] video=[d=0.0,u=0.0]
kbit/sec
ortp-message-bandwidth usage: audio=[d=0.0,u=81.3] video=[d=0.0,u=0.0]
kbit/sec

linphonec> ortp-message-bandwidth usage: audio=[d=0.0,u=80.4]
video=[d=0.0,u=0.0] kbit/sec
ortp-warning-keep alive: 0
ortp-message-eXosip: Keep Alive sent on UDP!
ortp-message-eXosip: Reseting timer to 10s before waking up!
terortp-message-bandwidth usage: audio=[d=0.0,u=83.2] video=[d=0.0,u=0.0]
kbit/sec
minaortp-message-synchronizing timestamp, diff=240
te
ortp-message-authinfo: No authentication found for 0351234568 "asterisk"
ortp-message-allocating transaction ressource 5 1200047909
ortp-message-allocating NICT context
ortp-message-DNS resolution with 192.168.2.34:5087
ortp-message-getaddrinfo returned the following addresses:
ortp-message-192.168.2.34 port 5087
ortp-message-Message sent: (to dest=192.168.2.34:5087)
BYE sip:address@hidden:5087 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.100:5060;rport;branch=z9hG4bK754367511
From: <sip:address@hidden:5087>;tag=500685551
To: <sip:address@hidden:5087>;tag=as30843b22
Call-ID: 1200047909
CSeq: 22 BYE
Contact: <sip:address@hidden:5060>
Max-Forwards: 70
User-Agent: Linphone/3.3.2 (eXosip2/3.1.0)
Content-Length: 0


ortp-message-cb_sndbye (id=5)
ortp-message-eXosip: timer sec:0 usec:100000!
ortp-message-Received message:
SIP/2.0 200 OK
v: SIP/2.0/UDP
192.168.2.100:5060;branch=z9hG4bK754367511;received=192.168.2.100;rport=5060
f: <sip:address@hidden:5087>;tag=500685551
t: <sip:address@hidden:5087>;tag=as30843b22
i: 1200047909
CSeq: 22 BYE
Server: TELECRON-PBX-48P
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
k: replaces, timer
l: 0


ortp-message-Message received from: 192.168.2.34:5087
ortp-message-Message received from: 192.168.2.34:5087
ortp-message-MESSAGE REC. CALLID:1200047909
ortp-message-Message received from: 192.168.2.34:5087
ortp-message-cb_rcv2xx (id=5)
ortp-message-eXosip: timer sec:5 usec:10000!
ortp-message-oRTP-stats:
   Audio session's RTP statistics :
ortp-message- number of rtp packet sent=568
ortp-message- number of rtp bytes sent=97696 bytes
ortp-message- number of rtp packet received=143
ortp-message- number of rtp bytes received=24596 bytes
ortp-message- number of incoming rtp bytes successfully delivered to the
application=24596
ortp-message- number of times the application queried a packet that didn't
exist=1147
ortp-message- number of rtp packet lost=0
ortp-message- number of rtp packets received too late=0
ortp-message- number of bad formatted rtp packets=0
ortp-message- number of packet discarded because of queue overflow=0
ortp-message-ms_filter_unlink: MSAlsaRead:0x6de10,0-->MSVolume:0x6dfe8,0
ortp-message-ms_filter_unlink: MSVolume:0x6dfe8,0-->MSUlawEnc:0x6dee8,0
ortp-message-ms_filter_unlink: MSUlawEnc:0x6dee8,0-->MSRtpSend:0x68fb8,0
ortp-message-ms_filter_unlink: MSRtpRecv:0x6dd30,0-->MSUlawDec:0x6df88,0
ortp-message-ms_filter_unlink: MSUlawDec:0x6df88,0-->MSDtmfGen:0x6dd90,0
ortp-message-ms_filter_unlink: MSDtmfGen:0x6dd90,0-->MSEqualizer:0x6db90,0
ortp-message-ms_filter_unlink: MSEqualizer:0x6db90,0-->MSVolume:0x6e078,0
ortp-message-ms_filter_unlink: MSVolume:0x6e078,0-->MSAlsaWrite:0x6de70,0
ortp-message-Audio MSTicker thread exiting
Call ended
linphonec> ortp-message-Notifying all friends that we are in status 1
linphonec> ortp-message-linphone process event get a message 20

ortp-message-Unhandled exosip event ! 20
ortp-message-cb_nict_kill_transaction (id=5)
ortp-message-eXosip: eXosip_release_finished_calls remove a dialog (cid=1
did=-1)
ortp-message-eXosip: remove a call
ortp-message-Release a terminated transaction
ortp-message-free transaction ressource 4 1200047909
ortp-message-free ict ressource
ortp-message-Release a terminated transaction
ortp-message-free transaction ressource 5 1200047909
ortp-message-free nict ressource
ortp-message-eXosip: Reseting timer to 10s before waking up!
ortp-message-eXosip: Reseting timer to 10s before waking up!
ortp-message-linphone process event get a message 26

ortp-message-CALL_RELEASED

ortp-warning-No op associated to this call_released()
ortp-warning-keep alive: 7
ortp-message-eXosip: Keep Alive sent on UDP!
ortp-message-eXosip: timer sec:3 usec:10000!
ortp-message-cb_nict_kill_transaction (id=3)
ortp-message-Release a terminated transaction
ortp-message-free transaction ressource 3 1200047909
ortp-message-free ict ressource
ortp-message-eXosip: Reseting timer to 10s before waking up!
ortp-warning-keep alive: 3
ortp-message-eXosip: Keep Alive sent on UDP!
ortp-message-eXosip: Reseting timer to 10s before waking up!

linphonec> quit
Terminating...
No active call.
ortp-message-authinfo: No authentication found for 0351234568 "asterisk"
ortp-message-allocating transaction ressource 6 2068341187
ortp-message-allocating NICT context
ortp-message-DNS resolution with 192.168.2.34:5087
ortp-message-getaddrinfo returned the following addresses:
ortp-message-192.168.2.34 port 5087
ortp-message-Message sent: (to dest=192.168.2.34:5087)
REGISTER sip:192.168.2.34:5087 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.100:5060;rport;branch=z9hG4bK1733293423
From: <sip:address@hidden:5087>;tag=307880861
To: <sip:address@hidden:5087>
Call-ID: 2068341187
CSeq: 3 REGISTER
Contact: <sip:address@hidden>
Max-Forwards: 70
User-Agent: Linphone/3.3.2 (eXosip2/3.1.0)
Expires: 0
Content-Length: 0


ortp-message-cb_sndregister (id=6)
ortp-message-Release a terminated transaction
ortp-message-free transaction ressource 2 2068341187
ortp-message-free nict ressource
ortp-message-eXosip: timer sec:0 usec:100000!
ortp-message-Received message:
SIP/2.0 401 Unauthorized
v: SIP/2.0/UDP
192.168.2.100:5060;branch=z9hG4bK1733293423;received=192.168.2.100;rport=5060
f: <sip:address@hidden:5087>;tag=307880861
t: <sip:address@hidden:5087>;tag=as67a73d70
i: 2068341187
CSeq: 3 REGISTER
Server: TELECRON-PBX-48P
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
k: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="646e2c40"
l: 0


ortp-message-Message received from: 192.168.2.34:5087
ortp-message-Message received from: 192.168.2.34:5087
ortp-message-MESSAGE REC. CALLID:2068341187
ortp-message-Message received from: 192.168.2.34:5087
ortp-message-cb_rcv4xx (id=6)
ortp-message-eXosip: timer sec:5 usec:10000!
ortp-message-linphone process event get a message 2

ortp-message-REGISTRATION_FAILURE

ortp-message-auth_requested() for realm="asterisk", username=0351234568
ortp-message-auth_requested(): authenticating realm="asterisk",
username=0351234568
ortp-message-Authentication info for 0351234568 "asterisk" added to eXosip
ortp-message-INFO: authinfo: "asterisk" "asterisk"
ortp-message-allocating transaction ressource 7 2068341187
ortp-message-allocating NICT context
ortp-message-eXosip_default_action() done
ortp-message-DNS resolution with 192.168.2.34:5087
ortp-message-getaddrinfo returned the following addresses:
ortp-message-192.168.2.34 port 5087
ortp-message-Message sent: (to dest=192.168.2.34:5087)
REGISTER sip:192.168.2.34:5087 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.100:5060;rport;branch=z9hG4bK203160278
From: <sip:address@hidden:5087>;tag=307880861
To: <sip:address@hidden:5087>
Call-ID: 2068341187
CSeq: 4 REGISTER
Contact: <sip:address@hidden>
Authorization: Digest username="0351234568", realm="asterisk",
nonce="646e2c40", uri="sip:192.168.2.34:5087",
response="924802602122e340fcb34d932bcf6", algorithm=MD5
Max-Forwards: 70
User-Agent: Linphone/3.3.2 (eXosip2/3.1.0)
Expires: 0
Content-Length: 0


ortp-message-cb_sndregister (id=7)
ortp-message-eXosip: timer sec:0 usec:100000!
ortp-message-Received message:
SIP/2.0 200 OK
v: SIP/2.0/UDP
192.168.2.100:5060;branch=z9hG4bK203160278;received=192.168.2.100;rport=5060
f: <sip:address@hidden:5087>;tag=307880861
t: <sip:address@hidden:5087>;tag=as67a73d70
i: 2068341187
CSeq: 4 REGISTER
Server: TELECRON-PBX-48P
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
k: replaces, timer
Expires: 0
Date: Sun, 08 Aug 2010 19:01:58 GMT
l: 0



> I test Linphone on a ARM device (plug box, ARM 1Ghz)
> incombination with Asterisk (confbridge). On the other side i've a normal
> i586 machine. Compiling on the ARM works ok! And the soundquality is ok!
>
> But there is a problem with the audio. The microphone on the ARM device to
> the normal i586 machine (with asterisk/confbridge) works well. Everything
> what you say in the microphone on the ARM device is clear on the other
> side (the linux i586 machine).
> But the audio is choppy/distort (hikups) when you say something on the
> microphone
> input on the i586 machine to the ARM device. The processor on the ARM
> device use 5%/10% of the full processor power or lower. I have the problem
> with all type of codecs.
>
> Both sides linphone (on arm & i586 machine)
> ARM mic input > Asterisk/confbridge > i586 headphone out > works OK
> i586 mic in  > Asterisk/confbridge > ARM headphone out > Choppy audio
>
> Is there an decoding problem on ARM devices or something?
>
> Regards,
> Menno
>
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]