Skip to content

Instantly share code, notes, and snippets.

@metal3d
Created February 20, 2011 00:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metal3d/835543 to your computer and use it in GitHub Desktop.
Save metal3d/835543 to your computer and use it in GitHub Desktop.
<canvas>
<simplelayout />
<rtmpconnection objectencoding="3" name="mainconnect" src="rtmp://127.0.0.1/live" autoconnect="true" >
<method name="hello">
Debug.write("server said hello...")
</method>
</rtmpconnection>
<rtmpstatus />
<text>Orange light: warning and mybe error on server, Green OK, Red: Error</text>
<button>Test
<handler name="onclick">
Debug.write("button clicked");
mainconnect.callMethod("test", null, null);
</handler>
</button>
</canvas>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment