Bladeren bron

课堂观察录音测试

SanHQin 1 week geleden
bovenliggende
commit
683574ac14
1 gewijzigde bestanden met toevoegingen van 7 en 2 verwijderingen
  1. 7 2
      src/components/pages/classroomObservation/components/chatArea.vue

+ 7 - 2
src/components/pages/classroomObservation/components/chatArea.vue

@@ -3113,7 +3113,7 @@ ${JSON.stringify(_list)}
       iiframe.contentWindow.window.document.getElementById(
         "languageOptions"
       ).selectedIndex = this.languageRadio;
-      iiframe.contentWindow.testdoContinuousPronunciationAssessment();
+
       // 录音开始
       let flag = true;
       iiframe.contentWindow.onRecognizedResult = e => {
@@ -3157,6 +3157,8 @@ ${JSON.stringify(_list)}
         this.transcriptionData.content += privText;
         this.onRecordAddLine(newItem);
       };
+
+      iiframe.contentWindow.ConversationTranscriber();
     },
     async onPauseRecordWithMicrosoft() {
       let _resolve;
@@ -3183,7 +3185,8 @@ ${JSON.stringify(_list)}
       iiframe.contentWindow.window.document.getElementById(
         "languageOptions"
       ).selectedIndex = this.languageRadio;
-      iiframe.contentWindow.testdoContinuousPronunciationAssessment();
+      // iiframe.contentWindow.testdoContinuousPronunciationAssessment();
+
       // 录音开始
       iiframe.contentWindow.onRecognizedResult = e => {
         this.recordedForm.endTime = this.recordedForm.timeDuration;
@@ -3212,6 +3215,8 @@ ${JSON.stringify(_list)}
         this.transcriptionData.content += privText;
         this.onRecordAddLine(newItem);
       };
+
+      iiframe.contentWindow.ConversationTranscriber();
     },
     onFinishRecordWithMicrosoft() {
       if (this.recordedForm.status == 1) {