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

pull/11119/head
Gabriel Borlea 3 years ago committed by GitHub
parent 8f1c693c3e
commit 3884862996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      react/features/screenshot-capture/ScreenshotCaptureSummary.js

@ -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;

Loading…
Cancel
Save