Extension:MWCaller

Work In Progress!



MWCaller brings the functionality of FreeRTC calling for MediaWiki


 * MediaWiki extension code: https://github.com/brion/EmbedScript
 * FreeRTC page: https://github.com/brion/EmbedScriptSandbox

Basic protocol

 * Host opens with the sandbox page's URL
 * Sandbox initializes self, jQuery
 * todo: remove the jQuery dependency
 * Host sees 'load' event on iframe
 * Host posts message to sandbox: {action: 'load', code: '...js source...', args: ['...string...', ...]}
 * todo: add HTML scaffold and CSS style options, and multiple scripts for library support
 * Sandbox makes the 'args' parameter available as 'sandbox.args' in script's local context
 * Sandbox executes the JavaScript code in its local context
 * todo: provide for reporting of errors back to a debug helper console