config.ts 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. export const CURRENT_CONFIG = {
  2. // 验证配置
  3. appId: '146815',
  4. appKey: '7c9e9108f2ddcbab32d2b508f452151',
  5. appLicense: 'ZK7Dzih4Qc9JCZhDiyDsWJwTW+1rhnnzT1SqDxbdSPVV24bbDC4r1KNjXo7tIPBnPne7ipnXeefP0lJ0OHvxMpkKiag5lFCIndKSvYYdQkyScT3dahCXjmYsd0YyWyHj4tvXoR2DRVq1PdBHLB1iUo2FGLCIZ8QHbGyqglyGdHY=',
  6. // 网络请求
  7. baseURL: '/api',
  8. apiURL: 'http://192.168.3.42:6789',
  9. websocketURL: 'ws://192.168.3.42:6789/api/v1/ws',
  10. // livestreaming
  11. // 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.
  12. rtmpURL: 'Please enter the rtmp access address.', // Example: 'rtmp://192.168.1.1/live/'
  13. // 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.
  14. gbServerIp: 'Please enter the server ip.',
  15. gbServerPort: 'Please enter the server port.',
  16. gbServerId: 'Please enter the server id.',
  17. gbAgentId: 'Please enter the agent id',
  18. gbPassword: 'Please enter the agent password',
  19. gbAgentPort: 'Please enter the local port.',
  20. gbAgentChannel: 'Please enter the channel.',
  21. // RTSP
  22. rtspUserName: 'Please enter the username.',
  23. rtspPassword: 'Please enter the password.',
  24. rtspPort: '8554',
  25. // Agora
  26. agoraAPPID: 'Please enter the agora app id.',
  27. agoraToken: 'Please enter the agora temporary token.',
  28. agoraChannel: 'Please enter the agora channel.',
  29. // 高德地图
  30. amapKey: '9ccf8815eb701c6aab8cd63e739df0fa',
  31. }