Author: a_horuzhenko
Date: Wed Jun 26 06:25:16 2013
New Revision: 1496776
URL: http://svn.apache.org/r1496776
Log:
Some client errors are collecting on the server.
Modified:
openmeetings/branches/2.1/WebContent/src/base/mainMethods.lzx
openmeetings/branches/2.1/WebContent/src/main.lzx
openmeetings/branches/2.1/WebContent/swf10/base/mainMethods.lzx
Modified: openmeetings/branches/2.1/WebContent/src/base/mainMethods.lzx
URL:
http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/src/base/mainMethods.lzx?rev=1496776&r1=1496775&r2=1496776&view=diff
==============================================================================
--- openmeetings/branches/2.1/WebContent/src/base/mainMethods.lzx (original)
+++ openmeetings/branches/2.1/WebContent/src/base/mainMethods.lzx Wed Jun 26
06:25:16 2013
@@ -289,6 +289,9 @@
canvas.videoComp_lc.regExpResult = function(tId,tResult) {
t.regExpResult(tId,tResult);
}
+ canvas.videoComp_lc.remoteLogWrite = function(message) {
+ canvas.remoteLogWrite(message);
+ }
canvas.videoComp_lc.exitRoom = function(confirm) {
if ($debug) Debug.write("confirm exitRoom:", confirm);
if (confirm) {
Modified: openmeetings/branches/2.1/WebContent/src/main.lzx
URL:
http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/src/main.lzx?rev=1496776&r1=1496775&r2=1496776&view=diff
==============================================================================
--- openmeetings/branches/2.1/WebContent/src/main.lzx (original)
+++ openmeetings/branches/2.1/WebContent/src/main.lzx Wed Jun 26 06:25:16 2013
@@ -59,6 +59,10 @@
canvas.lc = new LocalConnection();
</handler>
+<handler name="onerror" args="errmsg">
+ canvas.remoteLogWrite("error " + errmsg);
+</handler>
+
<!-- View for Contents. All Windows will be loaded on this view. -->
<view name="main_content" y="${ canvas.naviHeightDelta }"
width="${canvas.width}"
height="${ canvas.height-canvas.naviHeightDelta }"
Modified: openmeetings/branches/2.1/WebContent/swf10/base/mainMethods.lzx
URL:
http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/swf10/base/mainMethods.lzx?rev=1496776&r1=1496775&r2=1496776&view=diff
==============================================================================
--- openmeetings/branches/2.1/WebContent/swf10/base/mainMethods.lzx (original)
+++ openmeetings/branches/2.1/WebContent/swf10/base/mainMethods.lzx Wed Jun 26
06:25:16 2013
@@ -23,8 +23,15 @@
<library>
+ <method name="onError" args="errorEvent">
+ canvas.videoComp_lc.send(canvas.videoComp_lc_name,
'remoteLogWrite', "error " + errorEvent);
+ </method>
+
<method name="myinit">
<![CDATA[
+ // Add listener to all uncaught flash errors
+
this.getDisplayObject().loaderInfo.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR,
onError);
+
canvas.mediaerrortimeout = 30000;
canvas.medialoadtimeout = 30000;