jiti-meet/app.js

28 lines
423 B
JavaScript

/* jshint -W117 */
/* application specific logic */
function init() {
RTC.start();
xmpp.start(UI.getCreadentials);
}
$(document).ready(function () {
if(API.isEnabled())
API.init();
UI.start();
statistics.start();
// Set default desktop sharing method
desktopsharing.init();
});
$(window).bind('beforeunload', function () {
if(API.isEnabled())
API.dispose();
});