Source
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
<html>
<head>
<META http-equiv="Content-Type" content="text/html;charset=utf-8"></META>
<TITLE>FreeSWITCH Video Flash Phone Demo</TITLE>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
var flashvars = {
rtmp_url: 'rtmp://' + document.location.hostname + '/phone',
local_loopback: 2, // x pos if local video
buffer_time: 0,
width: 640,
height: 480,
display_width: 640,
display_height: 480
};
var params = {
allowScriptAccess: 'always',
wmode: 'window'
};
var current_uuid = "uuid";
var flash;
function log(msg) {
if ('console' in window) console.log(msg);
}
function login() {
flash.login($('#user').val(), '1234');
}
function register() {
flash.register($('#user').val(), 'Test');
}
function unregister() {
flash.register($('#user').val(), 'Test');
}
function makeCall() {
flash.makeCall($('#dest').val(), '', {wantVideo: "true", incomingBandwidth: "1mb"});
}
function hangup() {
flash.hangup(current_uuid);
}
function answer() {
flash.answer(current_uuid);
}
function settings() {
flash.showPrivacy();
}
function send_dtmf(digit) {
flash.sendDTMF(digit, 2000);
}