C++ to Flash / Actionscript RPC bridge - best implementation?

hi,

I’m looking for the best way to implement a “bridge” between an existing c++ server side to a Flash / Actionscript client application.

The bridge should allow the following operations:

  1. Allow the client to call functions/procedures on the c++ server side
  2. Allow the c++ server to send “simple” data (events like) to the client at ~30FPS
  3. Allow the c++ server to stream real-time video to the client

My best solution so far was to implement this kind of bridge using TCP sockets (xmlSocket or binarySocket), sending XML / binary messages from the c++ server side to the Flash / Actionscript client and back.
This solution answers points 1+2, but not 3

My question:

  1. Is there a better way to implement an RPC (remote procedure call) between Flash / Actionscript, other than TCP?
  2. What is the best way to implement point 3 (c++ to Flash / Actionscript real-time video streaming)?

Appreciate any help, tip on this issue,
EZ