|
@@ -696,6 +696,27 @@ JitsiConference.prototype.isStartVideoMuted = function () {
|
696
|
696
|
return this.startVideoMuted;
|
697
|
697
|
};
|
698
|
698
|
|
|
699
|
+/**
|
|
700
|
+ * Get object with internal logs.
|
|
701
|
+ */
|
|
702
|
+JitsiConference.prototype.getLogs = function () {
|
|
703
|
+ var data = this.xmpp.getJingleLog();
|
|
704
|
+
|
|
705
|
+ var metadata = {};
|
|
706
|
+ metadata.time = new Date();
|
|
707
|
+ metadata.url = window.location.href;
|
|
708
|
+ metadata.ua = navigator.userAgent;
|
|
709
|
+
|
|
710
|
+ var log = this.xmpp.getXmppLog();
|
|
711
|
+ if (log) {
|
|
712
|
+ metadata.xmpp = log;
|
|
713
|
+ }
|
|
714
|
+
|
|
715
|
+ data.metadata = metadata;
|
|
716
|
+
|
|
717
|
+ return data;
|
|
718
|
+};
|
|
719
|
+
|
699
|
720
|
/**
|
700
|
721
|
* Setups the listeners needed for the conference.
|
701
|
722
|
* @param conference the conference
|