jiti-meet/app.js

31 lines
483 B
JavaScript
Raw Normal View History

2013-12-16 11:22:23 +00:00
/* jshint -W117 */
/* application specific logic */
2013-12-16 11:22:23 +00:00
function init() {
2014-12-19 13:59:08 +00:00
RTC.start();
xmpp.start(UI.getCreadentials);
2013-12-16 11:22:23 +00:00
}
2013-12-16 11:22:23 +00:00
$(document).ready(function () {
2015-01-07 14:54:03 +00:00
2015-01-09 13:39:32 +00:00
if(API.isEnabled())
API.init();
2014-08-21 16:42:54 +00:00
2015-01-07 14:54:03 +00:00
UI.start();
statistics.start();
connectionquality.init();
2014-12-17 16:21:25 +00:00
// Set default desktop sharing method
2015-01-13 13:11:05 +00:00
desktopsharing.init();
2015-01-22 16:26:05 +00:00
keyboardshortcut.init();
2013-12-16 11:22:23 +00:00
});
$(window).bind('beforeunload', function () {
2015-01-09 13:39:32 +00:00
if(API.isEnabled())
API.dispose();
2013-12-16 11:22:23 +00:00
});