Fix camera setting when stopping screenshare

This commit is contained in:
Josh Perez
2021-06-02 14:41:28 -04:00
committed by GitHub
parent 36617c2e5a
commit 38d4595e3b

View File

@@ -945,7 +945,7 @@ export class CallingClass {
} else {
this.setOutgoingVideo(
conversationId,
Boolean(this.hadLocalVideoBeforePresenting) || hasLocalVideo
this.hadLocalVideoBeforePresenting ?? hasLocalVideo
);
this.hadLocalVideoBeforePresenting = undefined;
}