add(screenshot-capture): local participants id to participants array in metadata (#11134)
This commit is contained in:
parent
8f1c693c3e
commit
3884862996
|
@ -6,7 +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 { getRemoteParticipants } from '../base/participants';
|
import { getLocalParticipant, getRemoteParticipants } from '../base/participants';
|
||||||
import { extractFqnFromPath } from '../dynamic-branding';
|
import { extractFqnFromPath } from '../dynamic-branding';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
@ -177,6 +177,7 @@ export default class ScreenshotCaptureSummary {
|
||||||
const remoteParticipants = getRemoteParticipants(this._state);
|
const remoteParticipants = getRemoteParticipants(this._state);
|
||||||
const participants = [];
|
const participants = [];
|
||||||
|
|
||||||
|
participants.push(getLocalParticipant(this._state).id);
|
||||||
remoteParticipants.forEach(p => participants.push(p.id));
|
remoteParticipants.forEach(p => participants.push(p.id));
|
||||||
this._storedImageData = imageData;
|
this._storedImageData = imageData;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue