add(screenshot-capture): local participants id to participants array in metadata (#11134)

This commit is contained in:
Gabriel Borlea 2022-03-15 14:42:26 +02:00 committed by GitHub
parent 8f1c693c3e
commit 3884862996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import './createImageBitmap';
import { createScreensharingCaptureTakenEvent, sendAnalytics } from '../analytics';
import { getCurrentConference } from '../base/conference';
import { getRemoteParticipants } from '../base/participants';
import { getLocalParticipant, getRemoteParticipants } from '../base/participants';
import { extractFqnFromPath } from '../dynamic-branding';
import {
@ -177,6 +177,7 @@ export default class ScreenshotCaptureSummary {
const remoteParticipants = getRemoteParticipants(this._state);
const participants = [];
participants.push(getLocalParticipant(this._state).id);
remoteParticipants.forEach(p => participants.push(p.id));
this._storedImageData = imageData;