Browse Source

[+] update config

clark 10 months ago
parent
commit
0835150956

+ 1 - 1
Android/app/src/main/res/values-ar/strings.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
-    <string name="app_name" >VIP Meeting</string>
+    <string name="app_name" >PG电子</string>
     <string name="app_toast_login_success">Logged in</string>
     <string name="app_working">Running</string>
     <string name="app_user_id">Username</string>

+ 1 - 1
Android/app/src/main/res/values-zh/strings.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
-    <string name="app_name">VIP 会议</string>
+    <string name="app_name">PG电子</string>
     <string name="app_toast_login_success">登录成功</string>
     <string name="app_working">正在运行中</string>
     <string name="app_user_id">用户名</string>

+ 1 - 1
Android/app/src/main/res/values/strings.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
-    <string name="app_name" >VIP Meeting</string>
+    <string name="app_name" >PG电子</string>
     <string name="app_toast_login_success">Logged in</string>
     <string name="app_working">Running</string>
     <string name="app_user_id">Username</string>

+ 4 - 17
Android/debug/src/main/java/com/tencent/liteav/debug/GenerateTestUserSig.java

@@ -40,12 +40,9 @@ import javax.crypto.spec.SecretKeySpec;
 public class GenerateTestUserSig {
 
     /**
-     * Tencent Cloud SDKAppID. Set it to the SDKAppID of your account.
-     * <p>
-     * You can view your `SDKAppId` after creating an application in the [Tencent Cloud IM console](https://console.cloud.tencent.com/avc).
-     * SDKAppID uniquely identifies a Tencent Cloud account.
+     * 这里配置 SDKAppID
      */
-    public static final int SDKAppID = 20022983;
+    public static final int SDKAppID = 0;
 
 
     /**
@@ -57,19 +54,9 @@ public class GenerateTestUserSig {
     private static final int EXPIRE_TIME = 604800;
 
     /**
-     * Follow the steps below to obtain the key required for UserSig calculation.
-     * <p>
-     * Step 1. Log in to the [IM console](https://console.cloud.tencent.com/avc). If you don't have an application yet, create one.
-     * Step 2. Click your application and find “Basic Information”.
-     * Step 3. Click “Display Key” to view the key used for UserSig calculation.
-     * Copy and paste the key to the variable below.
-     * <p>
-     * Note: This method is for testing only. Before commercial launch,
-     * please migrate the UserSig calculation code and key to your backend server
-     * to prevent key disclosure and traffic stealing.
-     * Documentation: https://cloud.tencent.com/document/product/269/32688#Server
+     * 这里配置 SDKSecretKey
      */
-    private static final String SDKSecretKey = "4633790f7ff861636fbc64b20936d6aeeee25613446d2cd0b37b714d2307dec1";
+    private static final String SDKSecretKey = "";
 
     /**
      * Calculating UserSig

+ 4 - 1
Android/tuiroomkit/src/main/java/com/tencent/cloud/tuikit/roomkit/view/main/share/ConfigManager.java

@@ -17,7 +17,10 @@ public class ConfigManager
 {
     private static volatile ConfigManager instance;
     private Config config;
-    private static final String CONFIG_URL = "https://tplive-test.oss-cn-guangzhou.aliyuncs.com/config/config.json";
+    /**
+     * 这里配置Json文件的URL地址
+     */
+    private static final String CONFIG_URL = "";
 
     private ConfigManager()
     {