pilot-web/src/api/http/config.ts

49 lines
2.8 KiB
TypeScript
Raw Normal View History

2026-04-20 14:03:40 +08:00
export const CURRENT_CONFIG = {
// license
appId: '159035', // You need to go to the development website to apply.
appKey: '5132f8002819503ee42bd86208a12f6', // You need to go to the development website to apply.
appLicense: 'SjRIEnTeouiw47DcEra+OLNcbqvpGn4Uep8zQi3DJGFsI/us1nEp5hhL/JJ7PfPHmMopXN+Q6daOgXIKqCKBaCX2ntvKfmgxjTAqwS2gu3AxCkBlqTgZZsFNtTRdo98tbMbo+EsOQu/EGWjlrk6yCzfqB2iSRWQiQsbwswdcrlo=', // You need to go to the development website to apply.
// appId: '159812', // You need to go to the development website to apply.
// appKey: 'db9f0fd8956539e2985ba9156027cfa', // You need to go to the development website to apply.
// appLicense: 'GL9Y/UGd0cYI5vCkQWTqIEQsgFWvkIYKqCBPjKYhe7JMObEVsF2ZRUt+emBppV5llg0AAWRJknXQJDSgL0H/qaECdGYZELAUzaDRtbJZHOM2NDlmZUMiJCI95a9KvgS8Bs/u0XYU6cKxCKqZr0uVyF7Dbgk4WgHb6SOD4Dv7Qd8=', // You need to go to the development website to apply.
// http
baseURL: '/', // 修改为根路径
// baseURL: 'http://192.168.0.90:12311/', // 修改为根路径
// baseURL: 'http://8.137.54.85:11501/', // 修改为根路径
// baseURL: 'http://220.167.122.36:12311/', // 修改为根路径
// baseURL: 'http://139.155.129.59:6789/', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
// baseURL: 'http://47.108.71.9:12311/', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
// websocketURL: 'ws://139.155.129.59:6789/api/v1/ws', // Example: 'ws://192.168.1.1:6789/api/v1/ws'
// websocketURL: '/api/v1/ws', // 保持现有配置
websocketURL: '', // Example: 'ws://192.168.1.1:6789/api/v1/ws'
// websocketURL: 'ws://192.168.31.197:8083/mqtt', // 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: 'rtmp://47.108.71.9:1935/live/', // Example: 'rtmp://192.168.1.1/live/'
rtmpURL: '', // 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.',
}