Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "",
"comment": "Fix crash bug for remote screen share",
"packageName": "@azure/communication-react",
"email": "jiangnanhello@live.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "",
"comment": "Fix crash bug for remote screen share",
"packageName": "@azure/communication-react",
"email": "jiangnanhello@live.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,11 @@ export const _RemoteVideoTile = React.memo(
return remoteParticipant.displayName;
};

const reactionOverlay = (
const reactionOverlay = reactionResources && (
<MeetingReactionOverlay
overlayMode="grid-tiles"
reaction={remoteParticipant.reaction}
reactionResources={reactionResources!}
reactionResources={reactionResources}
/>
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,14 @@ export const RemoteScreenShare = React.memo(
}
onRenderPlaceholder={() => <LoadingSpinner loadingMessage={loadingMessage} />}
overlay={
<MeetingReactionOverlay
reactionResources={reactionResources!}
localParticipant={localParticipant}
remoteParticipants={remoteParticipants}
overlayMode="screen-share"
/>
reactionResources && (
<MeetingReactionOverlay
reactionResources={reactionResources}
localParticipant={localParticipant}
remoteParticipants={remoteParticipants}
overlayMode="screen-share"
/>
)
}
/>
);
Expand All @@ -115,12 +117,14 @@ export const RemoteScreenShare = React.memo(
}
onRenderPlaceholder={() => <LoadingSpinner loadingMessage={loadingMessage} />}
overlay={
<MeetingReactionOverlay
reactionResources={reactionResources!}
localParticipant={localParticipant}
remoteParticipants={remoteParticipants}
overlayMode="screen-share"
/>
reactionResources && (
<MeetingReactionOverlay
reactionResources={reactionResources}
localParticipant={localParticipant}
remoteParticipants={remoteParticipants}
overlayMode="screen-share"
/>
)
}
/>
);
Expand Down