Send compressed audio file.

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

 



Hi Steven,

First what operating system do you have on your development board?

To minimize porting issues I would recommend linux.

Then download and compile pjsua

You can run pjusa with arguments:

--null-audio
--auto-play
--play-file  <file-to-play.wav>
--add-codec pcmu

Look at http://www.pjsip.org/pjsua.htm for details.

On the phone I suppose you can use any VoIP for SIP and decompression.

BR/Olle

-----Original Message-----
From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org]
On Behalf Of sjs205.linux at googlemail.com
Sent: den 13 september 2011 17:38
To: pjsip at lists.pjsip.org
Subject: Send compressed audio file.

Hello all,

I am trying to test the various PJSIP compression algorithms and SIP 
protocol using a development board that does not feature a sound input. 
With this in mind I simply wish to test the the compression using a 
simple .wav or .pcm file.

Once the application is running I will then check on a receiving phone 
that the clip is being compressed and decompressed correctly, by ear, 
whilst checking the CPU load on the development board.

Can anybody point me in the right direction? That is, how do I send the 
sound clip to SIP? Would i need some application to read the file 
contents before piping this to PJ or can it handle this too?

Any help would be greatly appreciated.

Best regards,

Steven

_______________________________________________
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




[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