Skip to content

Commit

Permalink
FS-7585 make resolution configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
seven1240 committed May 29, 2015
1 parent 8adca82 commit 4a2eb5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Binary file modified clients/flex/freeswitch-h264.swf
Binary file not shown.
10 changes: 7 additions & 3 deletions clients/flex/freeswitch-video.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
var flashvars = {
rtmp_url: 'rtmp://' + document.location.hostname + '/phone',
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 = {
Expand Down Expand Up @@ -171,7 +175,7 @@
<input type="button" name="some_name" value="Settings" id="some_name" onclick="settings()">
</div>

<div style="border:2px solid blue;float:left;padding:5px">
<div style="border:0px solid blue;float:left;padding:0px">
<div id="flash">
<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>
Expand All @@ -183,7 +187,7 @@ <h1>Alternative content</h1>
<script type="text/javascript" charset="utf-8">

$(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];

$('#user').val("1000@" + window.location.hostname);
Expand Down

0 comments on commit 4a2eb5f

Please sign in to comment.