[pjsip] Problem with RTP on iPhone

Maelle Saiag saim at teamlog.com
Wed Jun 10 10:31:02 EDT 2009


Hi,

Thanks for this library. It is a very good job.
I am trying to make a MRCP client for iPhone. I have made a SIP client  
for iPhone to test the library. For the audio device, I have used the  
iphonesound.c of Siphon (thanks to Samuel Vinson).
For the SIP client, I have used pjsua, so the implementation of the  
RTP was made easier. But for the MRCP client, I just use pjmedia but I  
have a problem : my application send RTP packet but the packet size is  
0.
I wanted to test the audio device like is descibed in Audio Device API  
but it say to include pjmedia_audidev.h. I do not find it in pjproject  
(my version is 1.0). Did the Audio Device API have changed? How can I  
test my audio device?
Or perhaps someone have an idea why the packet size is zero.
I use G711 pcmu codec.
clock_rate = 8000
channel_count = 1
bits_per_sample = 16
samples_per_frame = 160
bytes_per_frame = 160
If you need more informations to help me, ask me because I do not know  
where the problem is.

Regards

Maëlle Saïag
saim at teamlog.com








More information about the pjsip mailing list