/**---------------GB28181服务器信息配置-------------------**/ const serverip="218.59.173.214:8081" const host = 'http://' + serverip; /**------------------------------------------------------**/ /**---------------ZLMediaKit流媒体服务器配置---------------**/ const ZLServerIp="218.59.173.214:801"; const ZLSecret="035c73f7-bb6b-4889-a715-d9eb2d1925cc"; const ZLHost='http://' + ZLServerIp+"/index/api"; const baseMediaUrl='ws://' + ZLServerIp + '/'; /**------------------------------------------------------**/ //生成GB28181平台接口url function genGb28181Url(method){ return host+method; } //生成ZLMediaKit平台接口url function genApiUrl(method){ return ZLHost+method+"?secret="+ZLSecret; } export default{ genApiUrl, genGb28181Url, baseMediaUrl, ZLServerIp }