Make test hlssink directory a part of repo
This commit is contained in:
parent
6c294fa84d
commit
5806277012
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1,4 +1,3 @@
|
||||||
hlssink/
|
|
||||||
target
|
target
|
||||||
*~
|
*~
|
||||||
*.bk
|
*.bk
|
||||||
|
@ -8,3 +7,7 @@ builddir
|
||||||
.meson-subproject-wrap-hash.txt
|
.meson-subproject-wrap-hash.txt
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
*.mkv
|
*.mkv
|
||||||
|
*.m3u8
|
||||||
|
*.ts
|
||||||
|
*.m4s
|
||||||
|
*.mp4
|
||||||
|
|
29
hlssink/index.html
Normal file
29
hlssink/index.html
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
<head>
|
||||||
|
<link href="https://vjs.zencdn.net/8.10.0/video-js.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<!-- If you'd like to support IE8 (for Video.js versions prior to v7) -->
|
||||||
|
<!-- <script src="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script> -->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<video
|
||||||
|
id="my-video"
|
||||||
|
class="video-js"
|
||||||
|
controls
|
||||||
|
preload="auto"
|
||||||
|
width="640"
|
||||||
|
height="480"
|
||||||
|
data-setup="{}"
|
||||||
|
>
|
||||||
|
<source src="http://localhost:8000/master.m3u8" type="application/x-mpegURL" />
|
||||||
|
<p class="vjs-no-js">
|
||||||
|
To view this video please enable JavaScript, and consider upgrading to a
|
||||||
|
web browser that
|
||||||
|
<a href="https://videojs.com/html5-video-support/" target="_blank"
|
||||||
|
>supports HTML5 video</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
|
</video>
|
||||||
|
|
||||||
|
<script src="https://vjs.zencdn.net/8.10.0/video.min.js"></script>
|
||||||
|
</body>
|
5
hlssink/remove.sh
Executable file
5
hlssink/remove.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
find . -name "*.m3u8" -type f -delete
|
||||||
|
find . -name "*.ts" -type f -delete
|
||||||
|
find . -name "*.mp4" -type f -delete
|
||||||
|
find . -name "*.m4s" -type f -delete
|
Loading…
Reference in a new issue