pjsip 1.5.5 and iPhone SDK 3.21

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

 



Alejandro,

I ended up using this howto http://code.google.com/p/pjsip-iphone-audio-driver/

It uses Audiounit for the audio which I find yields better audio quality and less latency.

Good Luck,

Brad 
_____________________
Brad Sweeney
brad.sweeney at gmail.com




On 2010-04-12, at 10:18 AM, Alejandro Orellana wrote:

> Thanks Bradley.
> yeah, i have tried all types of codecs  as well  with the same results.
> 
> so pjsip 1.0.3   works for you ? 
> 
> i will try  1.0.3
> 
> thank you
> 
> On Apr 12, 2010, at 12:09 PM, Bradley Sweeney wrote:
> 
>> Alejandro,
>> 
>> I am having similar issues with PJSIP 1.5.5 on the iphone. 
>> 
>> For a while I thought it was a codec issue, but I get the same results with both GSM and PCM.
>> 
>> Right now I am at a bit of a loss for what the issue might be. Currently I am sticking with 1.0.3 until I can get 1.5.5 working.
>> 
>> _____________________
>> Brad Sweeney
>> brad.sweeney at gmail.com
>> 
>> 
>> 
>> 
>> On 2010-04-12, at 9:44 AM, Alejandro Orellana wrote:
>> 
>>> All
>>> i am trying to  get pjsip 1.5.5 working in iPhone.
>>> i have been able , with the help  of great guides on internet, compiled and link the a simple pjsua  successfully .
>>> 
>>> i can even make calls , the logs as for SIP signaling look good, the rtp stream seem to be connected however there is no audio (neither direction).
>>> I recorded the rtp   using wireshark and i can play it back no problem.
>>> 
>>> 
>>> 11:21:42.034  iphonesound.c  pjmedia_snd_get_dev_info 0.
>>>  11:21:42.034  pjsua_media.c  Opening sound device PCM at 16000/1/20ms
>>>  11:21:42.035  iphonesound.c  pjmedia_snd_get_dev_info 0.
>>>  11:21:42.035  iphonesound.c  pjmedia_snd_open.
>>>  11:21:42.035  iphonesound.c  audioSessionCategory PlayAndRecord 3
>>> 
>>>  11:21:42.185  iphonesound.c  pjmedia_snd_open AudioQueueNewOutput.
>>>  11:21:42.188  iphonesound.c  pjmedia_snd_open AudioQueueSetParameter.
>>>  11:21:42.190  iphonesound.c  pjmedia_snd_open AudioQueueNewInput.
>>>  11:21:42.203  iphonesound.c  pjmedia_snd_open finished.
>>>  11:21:42.204     ec0x21eaf0  Creating Echo suppressor
>>>  11:21:42.204     ec0x21eaf0  Echo suppressor created, clock_rate=16000, channel=1, samples per frame=320, tail length=200 ms, latency=140 ms
>>>  11:21:42.204  iphonesound.c  pjmedia_snd_stream_start.
>>>  11:21:42.310  iphonesound.c  pjmedia_snd_stream_start : play back starting...
>>>  11:21:42.452  iphonesound.c  pjmedia_snd_stream_start : play back started
>>>  11:21:42.453  iphonesound.c  pjmedia_snd_stream_start : capture starting...
>>>  11:21:42.476  iphonesound.c  pjmedia_snd_stream_start : capture started...
>>>  11:21:42.476  iphonesound.c  pjmedia_snd_get_dev_info 0.
>>>  11:21:42.476   pjsua_call.c  Making call with acc #0 to <sip:2999 at 10.5.200.24>
>>> 
>>> the conference ports in pjsip seem ok as well.
>>> 
>>> 11:21:42.788    tsx0x84fe64  Incoming Response msg 200/INVITE/cseq=30436 (rdata0x82e464) in state Proceeding
>>>  11:21:42.788    tsx0x84fe64  State changed from Proceeding to Terminated, event=RX_MSG
>>>  11:21:42.788    dlg0x849864  Received Response msg 200/INVITE/cseq=30436 (rdata0x82e464)
>>>  11:21:42.788    dlg0x849864  Route-set updated
>>>  11:21:42.788    dlg0x849864  Route-set frozen
>>>  11:21:42.788    dlg0x849864  Transaction tsx0x84fe64 state changed to Terminated
>>>  11:21:42.788 iTelephoneAppD  Call 0 state changed to CONNECTING
>>>  11:21:42.788    inv0x849864  Got SDP answer in Response msg 200/INVITE/cseq=30436 (rdata0x82e464)
>>>  11:21:42.788    inv0x849864  SDP negotiation done, status=0
>>>  11:21:42.788   pjsua_call.c  Call 0: remote NAT type is 0 (Unknown)
>>>  11:21:42.789   strm0x851574  VAD temporarily disabled
>>>  11:21:42.793          rtp.c  pjmedia_rtp_session_init: ses=0x852df4, default_pt=0, ssrc=0x1c9b13f5
>>>  11:21:42.793          rtp.c  pjmedia_rtp_session_init: ses=0x853418, default_pt=0, ssrc=0x1c9b13f5
>>>  11:21:42.795       stream.c  Stream strm0x851574 created
>>>  11:21:42.795   strm0x851574  Encoder stream started
>>>  11:21:42.795   strm0x851574  Decoder stream started
>>>  11:21:42.795     resample.c  resample created: high qualiy, large filter, in/out rate=8000/16000
>>>  11:21:42.795     resample.c  resample created: high qualiy, large filter, in/out rate=16000/8000
>>>  11:21:42.795  pjsua_media.c  Media updates, stream #0: PCMU (sendrecv)
>>>  11:21:42.795   conference.c  Port 2 (sip:2999 at 10.5.200.24) transmitting to port 0 (iPhone Sound Device)
>>>  11:21:42.795   conference.c  Port 0 (iPhone Sound Device) transmitting to port 2 (sip:2999 at 10.5.200.24)
>>>  11:21:42.795 iTelephoneAppD  Media for call 0 is active
>>>  11:21:42.795    inv0x849864  Received Response msg 200/INVITE/cseq=30436 (rdata0x82e464), sending ACK
>>>  11:21:42.796       endpoint  Request msg ACK/cseq=30436 (tdta0x855200) created.
>>>  11:21:42.796    dlg0x849864  Sending Request msg ACK/cseq=30436 (tdta0x855200)
>>> 
>>> 
>>> anybody having the same problem?
>>> i am attaching the complete log 
>>> 
>>> thanks in advance.
>>> <iphone3.12_pjsip1.5.5_log.txt>
>>> 
>>> ------
>>> Alejandro Orellana
>>> Savant Systems, LLC
>>> 770 Main Street
>>> Osterville, Ma. 02655
>>> (508) 683-2547 (W)
>>> (508) 683-2647 (F)
>>> Alejandro.Orellana at savantav.com
>>> 
>>> Statement of Confidentiality
>>> The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or at 508.683-2500 and delete this message and its attachments, if any.
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Visit our blog: http://blog.pjsip.org
>>> 
>>> pjsip mailing list
>>> pjsip at lists.pjsip.org
>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> 
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>> 
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 
> ------
> Alejandro Orellana
> Savant Systems, LLC
> 770 Main Street
> Osterville, Ma. 02655
> (508) 683-2547 (W)
> (508) 683-2647 (F)
> Alejandro.Orellana at savantav.com
> 
> Statement of Confidentiality
> The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or at 508.683-2500 and delete this message and its attachments, if any.
> 
> 
> 
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100412/9496de14/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux