From 4dccbb68399da2d46943b8d613585afb49aa5455 Mon Sep 17 00:00:00 2001
From: sean.zhou <sean.zhou@dji.com>
Date: Fri, 22 Jul 2022 20:48:54 +0800
Subject: [PATCH] V1.1.0 for dock

---
 src/api/http/config.ts |   44 ++++++++++++++++++++++++++++++--------------
 1 files changed, 30 insertions(+), 14 deletions(-)

diff --git a/src/api/http/config.ts b/src/api/http/config.ts
index 6b12882..fafe023 100644
--- a/src/api/http/config.ts
+++ b/src/api/http/config.ts
@@ -1,20 +1,36 @@
 export const CURRENT_CONFIG = {
 
-  baseURL: 'Please enter the backend access address prefix.', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
-  websocketURL: 'Please enter the WebSocket access address.',  // Example: 'ws://192.168.1.1:6789/api/v1/ws'
-
-  rtmpURL: 'Please enter the rtmp access address.',  // Example: 'rtmp://192.168.1.1/live/'
-  gb28181Para:
-    'serverIP=Please enter the server ip.&serverPort=Please enter the server port.&serverID=Please enter the server id.' + 
-    '&agentID=Please enter the agent id.&agentPassword=Please enter the agent password' + 
-    '&localPort=Please enter the local port.&channel=Please enter the channel.',
-  rtspPara: 'userName=Please enter the username.&password=Please enter the password&port=Please enter the port.',
-  amapKey: 'Please enter the amap key.',
-  agoraAPPID: 'Please enter the agora app id.',
-  agoraToken: 'Please enter the agora token.',
-  agoraChannel: 'Please enter the agora channel.',
-
+  // license
   appId: 'Please enter the app id.',  // You need to go to the development website to apply.
   appKey: 'Please enter the app key.',  // You need to go to the development website to apply.
   appLicense: 'Please enter the app license.' // You need to go to the development website to apply.
+  
+  // http
+  baseURL: 'Please enter the backend access address prefix.', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
+  websocketURL: 'Please enter the WebSocket access address.',  // Example: 'ws://192.168.1.1:6789/api/v1/ws'
+
+  // livestreaming
+  // RTMP  Note: This IP is the address of the streaming server. If you want to see livestream on web page, you need to convert the RTMP stream to WebRTC stream.
+  rtmpURL: 'Please enter the rtmp access address.',  // Example: 'rtmp://192.168.1.1/live/' 
+  // GB28181 Note:If you don't know what these parameters mean, you can go to Pilot2 and select the GB28181 page in the cloud platform. Where the parameters same as these parameters.
+  gbServerIp: 'Please enter the server ip.',
+  gbServerPort: 'Please enter the server port.',
+  gbServerId: 'Please enter the server id.',
+  gbAgentId: 'Please enter the agent id',
+  gbPassword: 'Please enter the agent password',
+  gbAgentPort: 'Please enter the local port.',
+  gbAgentChannel: 'Please enter the channel.',
+  // RTSP
+  rtspUserName: 'Please enter the username.',
+  rtspPassword: 'Please enter the password.',
+  rtspPort: '8554',
+  // Agora
+  agoraAPPID: 'Please enter the agora app id.',
+  agoraToken: 'Please enter the agora temporary token.',
+  agoraChannel: 'Please enter the agora channel.',
+
+  // map 
+  // You can apply on the AMap website.
+  amapKey: 'Please enter the amap key.',
+
 }

--
Gitblit v1.9.3