diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-12-20 00:56:45 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-12-20 00:56:45 (GMT) |
commit | 0388c7ac478187ff8d264b6e0275a4c4a43796b9 (patch) | |
tree | 7e62439ebf72b6369ee7b1daa370e6251c06b7e0 /apps/samples/miles | |
parent | 22e22bfd0965e01fea041e053873d352387805f6 (diff) | |
download | uscxml-0388c7ac478187ff8d264b6e0275a4c4a43796b9.zip uscxml-0388c7ac478187ff8d264b6e0275a4c4a43796b9.tar.gz uscxml-0388c7ac478187ff8d264b6e0275a4c4a43796b9.tar.bz2 |
Performance and bugfix for WebSockets
Diffstat (limited to 'apps/samples/miles')
-rw-r--r-- | apps/samples/miles/miles.js | 2 | ||||
-rw-r--r-- | apps/samples/miles/miles.scxml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/samples/miles/miles.js b/apps/samples/miles/miles.js index cd61f64..01bb134 100644 --- a/apps/samples/miles/miles.js +++ b/apps/samples/miles/miles.js @@ -54,7 +54,7 @@ function Miles(element, params) { var audioEncoding = ""; var repollInterval = { - image: 50, + image: 20, chat: 500, participants: 1000 }; diff --git a/apps/samples/miles/miles.scxml b/apps/samples/miles/miles.scxml index c1c6c69..8281e9f 100644 --- a/apps/samples/miles/miles.scxml +++ b/apps/samples/miles/miles.scxml @@ -8,6 +8,7 @@ <if cond="_event.data.origin"> <!-- <log label="Reply-length" expr="_event.data.base64.length" /> --> <if cond="_event.name === 'thumbnail.reply'"> + <!-- <log expr="_event.data.image.base64().length" /> --> <respond status="200" to="_event.data.origin"> <header name="Cache-Control" value="no-cache" /> <!-- force IE to actually reload --> <header name="Access-Control-Allow-Origin" value="*" /> |