fix: mic kept alive after call issue

This commit is contained in:
Timothy J. Baek 2024-09-07 01:28:07 +01:00
parent f533c9750b
commit 8dfbdbd883

View File

@ -922,8 +922,8 @@
<button <button
class=" p-3 rounded-full bg-gray-50 dark:bg-gray-900" class=" p-3 rounded-full bg-gray-50 dark:bg-gray-900"
on:click={async () => { on:click={async () => {
stopAudioStream(); await stopAudioStream();
stopVideoStream(); await stopVideoStream();
showCallOverlay.set(false); showCallOverlay.set(false);
dispatch('close'); dispatch('close');
}} }}