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.
This commit is contained in:
parent
97ca3fb622
commit
43b0118ff8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue