I have just released the next beta version of the Red5 Plugin with an interesting feature. It is a SIP softphone implemented in Flex and Red5. It is completely open source and should work on both Windows and Linux. I however done all my development and testing on Windows. The voice quality needs more work, but is usable. Codecs are Nellymoser Asao from Flash to SIP and ADPCM from SIP to Flash. It should work with mot SIP proxies, but I have only tested with Asterisk. I have also only tested 2 simultaneous users, but there is no limit and will depend on how many users and media streams Red5 can cope with before it dies.
My next task will be to integrate into Sparkweb and make it work with the SIP plugin and enable SIP calls between Spark and Sparkweb users using the same user profile. For window users, I will also add AsteriskWin32 to the plugin and provide a complete SIP solution for Openfire.
You can download the Red5 Plugin version 0.0.15 from here
The SIP phone speaker side should be ok, because that is the nellymoser codec which is good, but the PC speaker is not so good because it is ADPCM.
The problem is that flash only accepts 3 codecs. Nellymoser, ADPCM or uncompressed. We can’t do Nellymoser because there is no open source Nellymoser encoder. Uncompressed will be better than ADCPM, but will consume 128Kbps bandwith compared to 32kbps ADPCM.
In the next release, I will make ADPCM an option which can be turned off. What we really need is for someone to release an open source nellymoser encoder.
I have uploaded version 0.0.17 with raw PCM instead of ADPCM. It can be changed from the admin console. It sounds much better. The bandwith is not as bad as I thought because of Nellymoser in the opposite direction. Total bandwidth (in theory) = 128K (download) + 16K (upload). A normal ulaw SIP call is 64K + 64K.
Thanks for the reference, but I don’t think the nellymoser encoder will improve the voice quality any better than raw PCM. it will certainly reduce the bandwidth which is good. I am however not so sure it is worth $2000.
thanks for the grat plugin, but i am havin some trouble.
Http_bind port is set to 8080. OF is runing v. 3.5.1, java sdk 1.6, ubuntu 6.06 and red5 plugin v.0.0.17 and i am still getting an http error 404 (NOT_FOUND RequestURI=/red5/viewer).
That’s music to my ears. Someone is already porting red5phone to run with the standalone Red5 server (See my blog). If you have Flex or HTML skills, please feel free to create a better looking softphone with more features.
It occures at all Red5 features. Open Audio/Video Roster, View Audio/Video Roster, Publish/View Desktop Screen and Phone component. It appears nothing specific within the log-files.
I’m getting this error message when trying to use FLashPhone on the Red5 Test Page:
Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: flash.net.NetConnection was unable to invoke callback onBWDone. error=ReferenceError: Error #1069: Property onBWDone not found on red5phone and there is no default value.
at red5phone/::init()
at red5phone/___red5phone_Application1_creationComplete()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFuncti on()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()