fix(screenshot-capture) Update data sent to backend (#10364)
This commit is contained in:
parent
8ebca64af1
commit
c74bdf137c
|
@ -6,6 +6,7 @@ import './createImageBitmap';
|
||||||
|
|
||||||
import { createScreensharingCaptureTakenEvent, sendAnalytics } from '../analytics';
|
import { createScreensharingCaptureTakenEvent, sendAnalytics } from '../analytics';
|
||||||
import { getCurrentConference } from '../base/conference';
|
import { getCurrentConference } from '../base/conference';
|
||||||
|
import { extractFqnFromPath } from '../dynamic-branding/functions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
CLEAR_INTERVAL,
|
CLEAR_INTERVAL,
|
||||||
|
@ -134,10 +135,11 @@ export default class ScreenshotCaptureSummary {
|
||||||
|
|
||||||
const conference = getCurrentConference(this._state);
|
const conference = getCurrentConference(this._state);
|
||||||
const sessionId = conference.getMeetingUniqueId();
|
const sessionId = conference.getMeetingUniqueId();
|
||||||
const { connection, timeEstablished } = this._state['features/base/connection'];
|
const { connection } = this._state['features/base/connection'];
|
||||||
const jid = connection.getJid();
|
const jid = connection.getJid();
|
||||||
const timeLapseSeconds = timeEstablished && Math.floor((Date.now() - timeEstablished) / 1000);
|
const timestamp = Date.now();
|
||||||
const { jwt } = this._state['features/base/jwt'];
|
const { jwt } = this._state['features/base/jwt'];
|
||||||
|
const meetingFqn = extractFqnFromPath();
|
||||||
|
|
||||||
this._storedImageData = imageData;
|
this._storedImageData = imageData;
|
||||||
|
|
||||||
|
@ -145,7 +147,8 @@ export default class ScreenshotCaptureSummary {
|
||||||
jid,
|
jid,
|
||||||
jwt,
|
jwt,
|
||||||
sessionId,
|
sessionId,
|
||||||
timeLapseSeconds
|
timestamp,
|
||||||
|
meetingFqn
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue