CMSV6Help Center
/
839 DOCS · 211 VIDEOS中文

Real-time video HLS web integration interface exception handling method

Author 谢周轩Updated 2026-05-09 11:03:15Doc ID 235982 words · 1 min readView original ↗

1. abnormal phenomenon

When the streaming media server is deployed with other public IP addresses, the video stream cannot be obtained due to the local address accessed by the page interface.

2. The Solution

2.1 editing the index.html page

Path: CMSServerV6\tomcat\webapps\gpsweb\808gps\open\hls

2.2 modify the following code

Will
'var ip = host.split(":")[0] ;'
'if(! ip || ip == 'localhost') {'
'ip = '127.0.0.1 ';'
'}'
Revised
'var ip = 'corresponding IP address of streaming media server ';'

2.3 save, restart the web server

Source help.cmsv7.com
839 documents · 211 videos · docs.alwaycare.com