Kaynağa Gözat

停止字幕 添加强制和非强制 参数

jsonwang 3 yıl önce
ebeveyn
işleme
ec88b24563

+ 2 - 2
BFRecordScreenKit/Classes/BFVoiceRecordManager.swift

@@ -73,7 +73,7 @@ class BFVoiceRecordManager: NSObject {
     }
     
     func cancelTitleService() {
-        audioRecorder?.cancelRecord()
+        audioRecorder?.stopNui_dialog(true)
         isStoping = false
 
     }
@@ -88,7 +88,7 @@ class BFVoiceRecordManager: NSObject {
         //停止录音机录音
         audioRecorder?.voiceRecorder.stop(true)
         //停止字幕服务
-        audioRecorder?.stopNui_dialog()
+        audioRecorder?.stopNui_dialog(false)
        
 
     }