浏览代码

修复无法播放音频的问题

vothin 2 年之前
父节点
当前提交
26cccb898c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/ncs-interaction/index.vue

+ 1 - 1
src/views/ncs-interaction/index.vue

@@ -546,7 +546,7 @@ export default {
         if (res.length !== 0) {
           if (res[0].endsWith("webm")) {
             this.streamingType = true
-          } else if (resp[0].endsWith("opus")) {
+          } else if (res[0].endsWith("opus")) {
             this.streamingType = false
           }