Add support v4l2 source

This commit is contained in:
Alex X
2025-01-06 23:47:35 +03:00
parent df831833b1
commit d59139a2ab
11 changed files with 859 additions and 0 deletions
+12
View File
@@ -292,6 +292,18 @@
</script>
<button id="v4l2">V4L2 (USB)</button>
<div class="module">
<table id="v4l2-table"></table>
</div>
<script>
document.getElementById('v4l2').addEventListener('click', async ev => {
ev.target.nextElementSibling.style.display = 'block';
await getSources('v4l2-table', 'api/v4l2');
});
</script>
<button id="webtorrent">WebTorrent Shares</button>
<div class="module">
<table id="webtorrent-table"></table>