From 2900f50c28b5e2a1cb0f72e4556fb761f61c408e Mon Sep 17 00:00:00 2001 From: xieb <vip_xiaobin810@163.com> Date: Mon, 18 Sep 2023 10:55:49 +0800 Subject: [PATCH] 环境配置 --- src/api/http/config.ts | 31 +++++++++++++++++++------------ 1 files changed, 19 insertions(+), 12 deletions(-) diff --git a/src/api/http/config.ts b/src/api/http/config.ts index bab0527..af48bde 100644 --- a/src/api/http/config.ts +++ b/src/api/http/config.ts @@ -7,31 +7,38 @@ // http // http://172.16.13.64:8100 - baseURL: 'http://192.168.1.198:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/' - // baseURL: 'https://dev.jxpskj.com:36789', // This url must end with "/". Example: 'http://192.168.1.1:6789/' + baseURL: 'http://127.0.0.1:6789/', // This url must end with "/". Example: 'http://192.168.1.1:6789/' + // baseURL: 'https://dev.jxpskj.com:36789/', // This url must end with "/". Example: 'http://192.168.1.1:6789/' // ws: 'ws//127.0.0.1:6789/api/v1/ws', // ws://192.168.1.198:1883/ - websocketURL: 'ws://192.168.1.198:6789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws' + websocketURL: 'ws://127.0.0.1:6789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws' // websocketURL: 'wss://dev.jxpskj.com:36789/api/v1/ws', // Example: 'ws://192.168.1.198: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/' + rtmpURL: 'rtmp://171.34.76.175:735/uav/', // 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: '171.34.76.175', - gbServerPort: '15060', - gbServerId: '34020000002000000001', - gbPassword: '12345678', - gbAgentId: '34020000002000000001', - gbAgentPort: '15060', - gbAgentChannel: '34020000001320000001', + // gbServerIp: '171.34.76.175', + // gbServerPort: '15060', + // gbServerId: '34020000002000000001', + // gbPassword: '12345678', + // gbAgentId: '34020000001320000001', + // gbAgentPort: '8080', + // gbAgentChannel: '34020000001320000001', + gbServerIp: '', + gbServerPort: '', + gbServerId: '', + gbPassword: '', + gbAgentId: '', + gbAgentPort: '', + gbAgentChannel: '', // RTSP rtspUserName: 'Please enter the username.', rtspPassword: 'Please enter the password.', rtspPort: '8554', // Agora agoraAPPID: '0a472a3b0f1543ab9e66d1ad4e6a91c8', - agoraToken: '007eJxTYPjg5tiwf+1PqwcHGApaMiLWbbtx60DWxUXthox8uTxS9U8UGAwSTcyNEo2TDNIMTU2ME5MsU83MUgwTU0xSzRItDZMtXPKZUhsCGRmm7VjFxMgAgSA+M0NiZgUDAwBxjB9/', + agoraToken: '007eJxTYLgR7L7yzoUww9Lj530XRDExB/68L/1CN1Ps7vnJmn/vWfQqMBgkmpgbJRonGaQZmpoYJyZZppqZpRgmppikmiVaGiZbrDzKnNoQyMhg98uLmZEBAkF8ZobEzAoGBgB1nB/x', agoraChannel: 'aix', // map -- Gitblit v1.9.3