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:
- Allow the client to call functions/procedures on the c++ server side
- Allow the c++ server to send “simple” data (events like) to the client at ~30FPS
- 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:
- Is there a better way to implement an RPC (remote procedure call) between Flash / Actionscript, other than TCP?
- 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