From 8323c8cb6e1f13c51ec6f0aaaab3987655106809 Mon Sep 17 00:00:00 2001 From: xieb <vip_xiaobin810@163.com> Date: Thu, 16 Jan 2025 10:35:06 +0800 Subject: [PATCH] 遥控器上云 --- src/api/http/config.ts | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/api/http/config.ts b/src/api/http/config.ts index d88c538..70b0fcd 100644 --- a/src/api/http/config.ts +++ b/src/api/http/config.ts @@ -10,14 +10,15 @@ // baseURL: 'http://192.168.1.133:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/' baseURL: 'http://192.168.1.198:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/' // ws: 'ws//127.0.0.1:6789/api/v1/ws', + ws: 'wss://wrj.shuixiongit.com/drone-wss/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: 'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws' // websocketURL: 'ws://192.168.1.133: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: 'rtmp://www.ainfo.top:735/uav/', // Example: 'rtmp://192.168.1.1/live/' + rtmpURL: 'rtmp://139.196.74.78/live/', // 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', @@ -39,11 +40,11 @@ rtspPort: '8554', // Agora agoraAPPID: '0a472a3b0f1543ab9e66d1ad4e6a91c8', - agoraToken: '007eJxTYLgR7L7yzoUww9Lj530XRDExB/68L/1CN1Ps7vnJmn/vWfQqMBgkmpgbJRonGaQZmpoYJyZZppqZpRgmppikmiVaGiZbrDzKnNoQyMhg98uLmZEBAkF8ZobEzAoGBgB1nB/x', + agoraToken: '007eJxTYMjta5cr6Hl18VvawuSH2x7pVrvabrXaO++yGMs5179pATMVGAwSTcyNEo2TDNIMTU2ME5MsU83MUgwTU0xSzRItDZMtvKwepDYEMjK8z7dgZmSAQBCfmSExs4KBAQCgJSBj', agoraChannel: 'aix', // map // You can apply on the AMap website. amapKey: '5221d3ca929a7bf59c301be186c03791', - + amapSearchKey: '6c3ea75b215f0c0efcbcfdf13273991b' } -- Gitblit v1.9.3