dh-camera.js 829 B

12345678910111213141516171819202122232425262728
  1. let HOST_IP=location.hostname=='localhost'?'10.101.37.13':location.hostname
  2. let dh_config = {
  3. "back_ip": "/camera",
  4. "ocx_ip": "/camera",
  5. "socket_ip": "ws://"+location.host+"/socket/ptzChange/",
  6. // "socket_ip": "ws://"+HOST_IP+":9050/socket/ptzChange/",
  7. "bind_ip": "http://10.101.37.13:8023/#/bind",
  8. "serverId": ''
  9. };
  10. /*60服务器地址*/
  11. // let dh_config = {
  12. // "back_ip": "http://60.191.110.206:48017",
  13. // "ocx_ip": "http://60.191.110.206:48017",
  14. // "socket_ip": "ws://60.191.110.206:48017/socket/ptzChange/",
  15. // "serverId": ''
  16. // };
  17. /*本地测试地址*/
  18. // let dh_config = {
  19. // "back_ip": "/camera",
  20. // "ocx_ip": "http://localhost:8017",
  21. // "socket_ip": "ws://localhost:8017/socket/ptzChange/",
  22. // "bind_ip": "http://localhost:8080/#/bind",
  23. // "serverId": ''
  24. // };
  25. export default dh_config;