Ver Fonte

fix: 删除无用

shuisheng há 2 anos atrás
pai
commit
7f5857c6ee
2 ficheiros alterados com 0 adições e 2 exclusões
  1. 0 1
      src/hooks/use-push.ts
  2. 0 1
      src/views/home/index.vue

+ 0 - 1
src/hooks/use-push.ts

@@ -99,7 +99,6 @@ export function usePush() {
   watch(
     () => currentMaxFramerate.value,
     (newVal) => {
-      console.log(currentMaxFramerate.value, 'currentMaxFramerate.value');
       if (canvasVideoStream.value) {
         canvasVideoStream.value.getVideoTracks().forEach((track) => {
           track.applyConstraints({

+ 0 - 1
src/views/home/index.vue

@@ -204,7 +204,6 @@ const { handleHlsPlay, videoLoading, remoteVideo, handleStopDrawing } = usePull(
 watch(
   () => remoteVideo.value,
   (newVal) => {
-    console.log('kkksd', newVal);
     newVal.forEach((item) => {
       remoteVideoRef.value?.appendChild(item);
     });