Friday, November 6, 2009

Flash Player hidden feature - Echo Cancellation and P2P Live Streaming

I recently discovered two features of the Flash Player that are only available for "Premium" customers. These are interesting for Web-Conferencing Systems.

Did you ever notice that this flag in the ActionScript API *useEchoSuppression* does not seem to have any effect to the behavior? (API Docs: http://livedocs.adobe.com/flash/9.0_de/ActionScriptLangRefV3/flash/media/Microphone.html#useEchoSuppression)
Well it is because there IS NO! This echo Cancellation is only available if you use Adobe Connect Pro. You can find a hole history of reports about this feature and people that investigated at the Adobe Bug Tracker (you have to sign up): http://bugs.adobe.com/jira/browse/FP-273 (this issue has started in August 2008, so its not really new). It seems like Adobe has the Code for the Echo Cancellation ready since SWF 9. But they refuse to include it into the Flash Player for everybody. You get an additional Add-On for this feature.
Another interesting feature can be seen live when you watch the CNN Live Broadcast:

http://edition.cnn.com/video/flashLive/live.html?stream=stream1

you should watch your network through-put. You will encounter after some minutes, that your upload is as big as your download rate! That means the Flash Player is able to use P2P to broadcast a Live Stream. Quite nice, unfortunately it seems the same thing here, you need a modified Version of the Flash Player for that feature.

Lets see how long they can follow that route...