fix #331: remove submodule hls.js

pull/336/head
Michel Promonet 3 weeks ago
parent 44ea524f72
commit 890cdbe5ae

4
.gitmodules vendored

@ -1,6 +1,4 @@
[submodule "v4l2wrapper"]
path = libv4l2cpp
url = https://github.com/mpromonet/v4l2wrapper
[submodule "hls.js"]
path = hls.js
url = https://github.com/video-dev/hls.js

@ -160,7 +160,7 @@ endif (SYSTEMD_FOUND)
# package
install (TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin)
install (FILES index.html DESTINATION share/${PROJECT_NAME}/)
install (FILES hls.js/dist/hls.light.min.js DESTINATION share/${PROJECT_NAME}/hls.js/dist/)
install (FILES hls.js DESTINATION share/${PROJECT_NAME}/)
SET(CPACK_GENERATOR "DEB")
IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")

@ -158,7 +158,7 @@ It is now possible to play HLS url directly from browser :
* using Firefox installing [Native HLS addons](https://addons.mozilla.org/en-US/firefox/addon/native_hls_playback)
* using Chrome installing [Native HLS playback](https://chrome.google.com/webstore/detail/native-hls-playback/emnphkkblegpebimobpbekeedfgemhof)
There is also a small HTML page that use hls.js and dash.js, but dash still not work because player doesnot support MP2T format.
There is also a small HTML page that use hls.js.
Using Docker image
===============

@ -1 +0,0 @@
Subproject commit e90a1b999071e88af0f734ef18b9e8520c839cec

File diff suppressed because one or more lines are too long

@ -6,10 +6,10 @@
</style>
<body>
<!--fill streamList variable with the list of streams -->
<script src="/getStreamList?streamList" ></script>
<script src="getStreamList?streamList" ></script>
<h3>HLS</h3>
<div id="videos"></div>
<script src="hls.js/dist/hls.light.min.js" ></script>
<script src="hls.js" ></script>
<script>
if (Hls.isSupported()) {
var videos = document.getElementById("videos")

Loading…
Cancel
Save