Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(mutli-stream): Use the default display name if none is available. This fixes an issue where the virual SS tile is not created if the user sharing the screen doesn't have a display name set.

Jaya Allamsetty43b0118ff8d8
diff --git a/react/features/base/participants/actions.js b/react/features/base/participants/actions.js
index b40b954d12..67bf3f7028 100644
--- a/react/features/base/participants/actions.js
+++ b/react/features/base/participants/actions.js
@@ -515,14 +515,7 @@ export function createVirtualScreenshareParticipant(sourceName, local) {
return (dispatch, getState) => {
const state = getState();
const ownerId = getVirtualScreenshareParticipantOwnerId(sourceName);
- const owner = getParticipantById(state, ownerId);
- const ownerName = owner.name;
-
- if (!ownerName) {
- logger.error(`Failed to create a screenshare participant for sourceName: ${sourceName}`);
-
- return;
- }
+ const ownerName = getParticipantDisplayName(state, ownerId);
dispatch(participantJoined({
conference: state['features/base/conference'].conference,