Tom Krcha's FlashRealtime

Hey amigo! These are my notes. I'm Platform Evangelist with Adobe.


UDP in Adobe AIR 2.0

September 1st, 2010

My fellow evangelist Michael Chaize put together a video on a related topic - UDP. See this presentation on how to start with UDP (Universal Datagram Protocol) in Adobe AIR 2.0.

Discover the UDP API in Adobe AIR 2.0

Check also his second tutorial - UDP Video in AIR 2.0.

Enjoy!

Local Flash Peer-to-Peer Communication over LAN (without Stratus)

August 27th, 2010

native-ip-multicast-small Some of you guys were probably wondering how to establish P2P connections in the local network (LAN) without Stratus. Yes. It’s possible. Using native IP-only multicast. Let’s build a simple chat with Posting. Adding Multicast broadcast is just a simple next step which I am sure you can accomplish by yourself with few hints from my article about Multicast

Open an IP Multicast connection. This can be done by specifying connection string as “rtmpf:”. Note, that this technique cannot be used for one-to-one communication. So no DIRECT_CONNECTIONS with NetStream, but you can do all RTMFP Group operations.

netConnection.connect("rtmfp:");

Read the rest of this entry »

Screen Sharing Feature In Flash Now Available For Everyone!

August 18th, 2010

livecycle_collaboration_service_mnemonic_no_shadow I can’t even say how much I was looking forward to this blog post. It’s here! This feature of Flash Player and special screensharing add-in, which you might know from Adobe Connect Pro or Adobe ConnectNow is now available for every single Flash Platform developer through LiveCycle Collaboration Service. This is THE KILLER FEATURE everyone, who is developing collaborative apps, was waiting for.

And I am happy to say: The waiting is over! You can now grab it and implement it right inside of your applications!

screen-shot-2010-08-18-at-125314-am

Try demo
Publisher | Subscriber

See how it works at Vimeo.

Source code is available in samples folder, which comes with LCCS SDK Navigator.
Read the rest of this entry »

Video-on-Demand over P2P in Flash Player 10.1 with Object Replication

July 28th, 2010

In the previous tutorial File Sharing over P2P in Flash Player 10.1 with Object Replication we went through the Object Replication basics. And you can see that the Receiver is requesting packets one by one. That’s not suitable for the real world app, but it’s good for testing on a LAN to see the progress. In the real world app, you can immediately request all packets using NetGroup.addWantObjects(beginIndex, endIndex);.

Transferring VoD video over P2P

Let’s get something real with Object Replication. The use-case I like most is a Realtime P2P Distributed System for Video-on-Demand.
Video-on-Demand P2P Object Replication Scheme
Read the rest of this entry »

File Sharing over P2P in Flash Player 10.1 with Object Replication

July 14th, 2010

Read also: Video-on-Demand over P2P in Flash Player 10.1 with Object Replication

Object Replication

Object Replication is the most lowest-level P2P access available in Flash Player 10.1 (followed by Multicast, Posting and Directed Routing). It basically enables you to send chunks of data between peers. Object Replication is the only P2P access method that guarantees that all data will be transferred to all receiving peers.

Swarming

Demo

I’ve built this simple file sharing application, which basically loads a file and then you start sharing it. Open another client to start receiving the file.
provider-receiver-demo

Read the rest of this entry »