Voalté Provides iPhone audio to Open Source

by Benjamin King 11. February 2010 14:13

Our First Open Source Project

The project is an audio driver that connects the iPhone audio system, using the Audio Unit API, to the PJSIP framework (also open-source). It's primary propose is to provide Voice over Internet Protocol (VoIP) using the PJSIP framework on the Apple iPhone platform.

The iPhone SDK has a couple of audio API's. The choice of Audio Units gives very low-latency audio input/output in near-real-time. Audio Units are the lowest audio layer available in the iPhone SDK. In addition to this, Apple has supplied the Voice Processing I/O Audio Unit which provides acoustic echo cancellation! We take for granted the fact that we don't hear ourselves (an echo) when talking on speakerphone.

In the iPhone, the speaker (used in speakerphone mode) and the microphone are in very close proximity to each other. (They're both on the bottom of the device.) This can easily cause feedback, or an echo, when the microphone picks up sound coming out of the speaker. Consequently that sound gets sent back to the caller who now hears an echo of his/her voice. The echo is so bad that some VoIP software providers opt not to support speakerphone on the iPhone device.

Another major component of this echo cancellation capability is the ability to remove system sounds or alerts. For example when you are on a phone call and the device plays an alert tone that may or may not have come from your application. The voice processing unit removes the alert tone from the audio input, and the person you are talking to does not hear it at all. These noises are normally impossible to dampen, as they originate outside the pjsip audio stack.

By open-sourcing, we hope to promote VoIP on the iPhone platform, and a broader collaboration from both the iPhone and PJSIP communities. We encourage others to contribute by providing ideas, solutions and improvements by way of bug fixes, performance improvements, added features and thorough testing beyond our own application environment. Because of the BSD-license any iPhone developer will be able to use the work, including commercial apps. We hope this equates to more interest in the project, and more active development from a larger audience. Ultimately, we want to encourage open collaboration and provide the best user experience for VoIP on the iPhone platform.

http://code.google.com/p/pjsip-iphone-audio-driver/


Comments

3/20/2010 8:56:05 PM #

Till now I have not an iPhone. I will buy one very soon. I bookmark the site for reading some excellent informative post in future. Carry on man.

1035 Exchange United Kingdom

3/28/2010 7:56:36 AM #

Really interesting articles. I enjoyed reading it. Are these genuine images or has the artwork been touched up they are truly. Thanks for sharing a nice info.

ED Russia

3/31/2010 2:35:06 AM #

Just wanted to say thanks for a really useful post. Great resource!  cheers mate!

Estate Planning Lawyer United States

4/9/2010 5:12:52 PM #

It's very great to hear that Voalte has opensourced their PJSIP iPhone audio drive under BSD-license. I will start spread this good news to the whole of PJSIP community. Your post was interesting and informative. I have learned lot of things from your flow chart. Thanks for sharing.

dvd hifi system United Kingdom

4/10/2010 1:23:05 PM #

Really interesting articles. I enjoyed reading it. Are these genuine images or has the artwork been touched up they are truly. Thanks for sharing a nice info.

ED Russia

4/16/2010 1:03:34 PM #

VoIP is a break through invention which lets you make free or very cheap local, long distance and international calls.

call routing United States

4/21/2010 4:01:04 AM #

Yeah, I also have iPhone and I really like it because of its well done functions. In addition to this, Apple has supplied the Voice Processing I/O Audio Unit which provides acoustic echo cancellation as you said. I enjoy this description. It help me more in the work. Cheer to see you in the next post. I want to discuss much more about the topic.

construction games Singapore

Comments are closed