Steven 1 rok pred
rodič
commit
bd25c139c6

+ 3 - 0
KulexiuForStudent/KulexiuForStudent/Common/Base/KSAccompanyWebViewController.m

@@ -418,6 +418,9 @@
 }
 
 - (void)configRecordManager {
+    if (self.AQManager.isRunning) {
+        [self.AQManager stopRecord];
+    }
     self.AQManager = [[KSAQRecordManager alloc] init];
     self.AQManager.delegate = self;
 }

+ 3 - 0
KulexiuForStudent/KulexiuForStudent/Module/CloudEngine/Controller/KSCloudViewController.m

@@ -876,6 +876,9 @@ typedef NS_ENUM(NSInteger,COLOR_DISPLAYTYPE) {
 #pragma mark ------ recorder
 // 初始化录制引擎
 - (void)configRecordManager {
+    if (self.AQManager.isRunning) {
+        [self.AQManager stopRecord];
+    }
     self.AQManager = [[KSAQRecordManager alloc] init];
     self.AQManager.delegate = self;
 }