Browse Source

change:
1. 延长语音对讲时的默认对讲连接等待时间

kindring 2 năm trước cách đây
mục cha
commit
995e2eb127

+ 1 - 1
src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/play/PlayController.java

@@ -486,7 +486,7 @@ public class PlayController {
 			@RequestParam("deviceId") String deviceId,
 			@RequestParam(value = "waitTime",
 					required = false,
-					defaultValue = "5000") int waitTime,
+					defaultValue = "15000") int waitTime,
 			@RequestParam(value = "app") String app,
 			@RequestParam(value = "stream") String stream
 	){

+ 2 - 0
web_src/src/assets/ZLMRTCClient.js

@@ -5801,6 +5801,8 @@ let ZLMRTCClient = (function (exports) {
 	  if (errorLogger) {
 	    errorLogger(message, ...optionalParams);
 	  }
+    // todo 触发on error 事件
+
 	}
 
 	class Event$1 {