Reuse html element for local preview visuals
This commit is contained in:
parent
bb69f81b9f
commit
17c908bbf4
14 changed files with 86 additions and 109 deletions
|
@ -116,6 +116,10 @@ async function notifyForCall(
|
|||
});
|
||||
}
|
||||
|
||||
function setLocalPreviewContainer(container: HTMLDivElement | null): void {
|
||||
callingService.setLocalPreviewContainer(container);
|
||||
}
|
||||
|
||||
const playRingtone = callingTones.playRingtone.bind(callingTones);
|
||||
const stopRingtone = callingTones.stopRingtone.bind(callingTones);
|
||||
|
||||
|
@ -449,7 +453,6 @@ export const SmartCallManager = memo(function SmartCallManager() {
|
|||
setIsCallActive,
|
||||
setLocalAudio,
|
||||
setLocalVideo,
|
||||
setLocalPreview,
|
||||
setOutgoingRing,
|
||||
setRendererCanvas,
|
||||
switchToPresentationView,
|
||||
|
@ -509,7 +512,7 @@ export const SmartCallManager = memo(function SmartCallManager() {
|
|||
setGroupCallVideoRequest={setGroupCallVideoRequest}
|
||||
setIsCallActive={setIsCallActive}
|
||||
setLocalAudio={setLocalAudio}
|
||||
setLocalPreview={setLocalPreview}
|
||||
setLocalPreviewContainer={setLocalPreviewContainer}
|
||||
setLocalVideo={setLocalVideo}
|
||||
setOutgoingRing={setOutgoingRing}
|
||||
setRendererCanvas={setRendererCanvas}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue