Skip to content

Commit c52f3eb

Browse files
committed
Fix wrong URL in hls.html example
1 parent 47f32a5 commit c52f3eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

www/hls.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
<video id="video" autoplay controls playsinline muted></video>
2222
<script>
2323
// http://192.168.1.123:1984/hls.html?src=demo&mp4
24-
// const url = new URL('api/stream.m3u8' + location.search, location.href);
25-
const url = 'http://192.168.10.5:1984/api/stream.m3u8?src=rtsp-dahua2&mp4';
24+
const url = new URL('api/stream.m3u8' + location.search, location.href);
2625

2726
const video = document.getElementById('video');
2827
if (Hls.isSupported()) {

0 commit comments

Comments
 (0)