]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7585 make resolution configurable
authorSeven Du <dujinfang@gmail.com>
Fri, 29 May 2015 07:37:20 +0000 (15:37 +0800)
committerSeven Du <dujinfang@gmail.com>
Fri, 29 May 2015 07:37:28 +0000 (15:37 +0800)
clients/flex/freeswitch-h264.swf
clients/flex/freeswitch-video.html

index fb9f23945ff7029aeae8f4a4458d5ade3fa92bbf..046e8f4e4554bbed581e41d1cb39ca088f1ee1ec 100644 (file)
Binary files a/clients/flex/freeswitch-h264.swf and b/clients/flex/freeswitch-h264.swf differ
index fe84842d0799bddf2b357643777622968876b241..ee99192e3a16228aeb9a1ebcb4f0a72227f1cbd3 100644 (file)
                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      = {
                <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>
        <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);