From ed5dde81f6b5156a269b3513ea3dcd49a0ce1676 Mon Sep 17 00:00:00 2001
From: 刘跃龙 <yjkhtddx@sina.com>
Date: 星期三, 29 三月 2023 09:59:47 +0800
Subject: [PATCH] 优先使用SIP认证用户名
---
web_src/src/components/dialog/platformEdit.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/web_src/src/components/dialog/platformEdit.vue b/web_src/src/components/dialog/platformEdit.vue
index 0298ee7..be7c505 100644
--- a/web_src/src/components/dialog/platformEdit.vue
+++ b/web_src/src/components/dialog/platformEdit.vue
@@ -157,7 +157,7 @@
devicePort: null,
username: null,
password: null,
- expires: 300,
+ expires: 3600,
keepTimeout: 60,
transport: "UDP",
characterSet: "GB2312",
@@ -305,7 +305,7 @@
devicePort: null,
username: null,
password: null,
- expires: 300,
+ expires: 3600,
keepTimeout: 60,
transport: "UDP",
characterSet: "GB2312",
@@ -331,8 +331,8 @@
return result;
},
checkExpires: function() {
- if (this.platform.enable && this.platform.expires == "0") {
- this.platform.expires = "300";
+ if (this.platform.enable && this.platform.expires === "0") {
+ this.platform.expires = "3600";
}
},
rtcpCheckBoxChange: function (result){
--
Gitblit v1.8.0