|Programming Flash Communication Server|
|Home | News | Sample Chapters | Source Code | Technotes & Articles | Errata|
Also, I have written a long blog post on RTMFP here:
The sample files are designed to demonstrate the basics of working with the extended NetConnection and NetStream APIs that make using RTMFP possible. They are not production ready and are not designed to illustrate best coding practices. They were created for testing and experimentation purposes. At the time of writing a version of FMS with RTMFP is not available so you must get a Stratus developer key to use RTMFP and these sample files.
This Flex 3 application includes some simple instructions. The most important one is that you must add your Stratus developer key in the RTMFPTests.mxml file to make things work. Look for this line of code:
private const developerKey:String = "myStratusDeveloperKeyGoesHere!";
The latency demo is a very unsophisticated Flash CS4 program that is designed to send the xy coordinate of a movie clip (with the up arrow) in one panel to another movie clip in another panel (with the down arrow). The program requires access to both a Flash Media Interactive Server and the Stratus service. To make the demo work you must change two lines in the Panel.as file:
private const rtmpAddress:String = "rtmp://YourFMISServerHostName/latencyDemo/" private const myDeveloperKey:String = "YOUR STRATUS DEVELOPER KEY GOES HERE";
The first lines means you must have an FMIS server with an application named latencyDemo on it. Copy and paste the main.asc from the zip archive into your .../applications/latencyDemo directory.
Note: during the demonstration I showed a simple video conference application. I am porting it to use Stratus so it will show up here some time in the future.
Document first posted April 25, 2008 by Brian Lesser
Updated with slides and RTMFPTests on April 30, 2008 by Brian Lesser
Added Latency Demo on May 02, 2009 by Brian Lesser