Browse Source

屏蔽视频通话

miaofuhao 7 months ago
parent
commit
7c5836ca01
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/components/main/drawer-phone/index.vue

+ 0 - 7
src/components/main/drawer-phone/index.vue

@@ -417,13 +417,6 @@ function inCommingSip (res, direction) {
417 417
           audioElement.value.muted = false;
418 418
         //   sipPhoneFlag.value = false
419 419
         }
420
-      } else if (callType.value === 'VIDEO') {
421
-        videoElement.value.srcObject = remoteStream
422
-        videoElement.value.onloadedmetadata = function () {
423
-          videoElement.value.play();
424
-          videoElement.value.muted = false;
425
-        //   sipPhoneFlag.value = false
426
-        }
427 420
       }
428 421
     }
429 422
   })