FS-7585 make resolution configurable
This commit is contained in:
parent
8adca82644
commit
4a2eb5fe3f
Binary file not shown.
|
@ -10,7 +10,11 @@
|
||||||
var flashvars = {
|
var flashvars = {
|
||||||
rtmp_url: 'rtmp://' + document.location.hostname + '/phone',
|
rtmp_url: 'rtmp://' + document.location.hostname + '/phone',
|
||||||
local_loopback: 2, // x pos if local video
|
local_loopback: 2, // x pos if local video
|
||||||
buffer_time: 0
|
buffer_time: 0,
|
||||||
|
width: 640,
|
||||||
|
height: 480,
|
||||||
|
display_width: 640,
|
||||||
|
display_height: 480
|
||||||
};
|
};
|
||||||
|
|
||||||
var params = {
|
var params = {
|
||||||
|
@ -171,7 +175,7 @@
|
||||||
<input type="button" name="some_name" value="Settings" id="some_name" onclick="settings()">
|
<input type="button" name="some_name" value="Settings" id="some_name" onclick="settings()">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="border:2px solid blue;float:left;padding:5px">
|
<div style="border:0px solid blue;float:left;padding:0px">
|
||||||
<div id="flash">
|
<div id="flash">
|
||||||
<h1>Alternative content</h1>
|
<h1>Alternative content</h1>
|
||||||
<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>
|
<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>
|
||||||
|
@ -183,7 +187,7 @@
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
swfobject.embedSWF("freeswitch-h264.swf", "flash", "360", "296", "11.2.202.229", "expressInstall.swf", flashvars, params, []);
|
swfobject.embedSWF("freeswitch-h264.swf", "flash", "640", "480", "11.2.202.229", "expressInstall.swf", flashvars, params, []);
|
||||||
flash = $('#flash')[0];
|
flash = $('#flash')[0];
|
||||||
|
|
||||||
$('#user').val("1000@" + window.location.hostname);
|
$('#user').val("1000@" + window.location.hostname);
|
||||||
|
|
Loading…
Reference in New Issue