Browse Source

修复无法播放音频的问题

vothin 2 years ago
parent
commit
26cccb898c
1 changed files with 1 additions and 1 deletions
  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
           }