11 url = "https://cdn.jsdelivr.net/npm/hls.js@v1.5.15/dist/hls.min.js";
12 hash = "sha256-qRwhj9krOcLJKbGghAC8joXfNKXUdN7OkgEDosUWdd8=";
17 # check for hls.js version updates in internal/servers/hls/hlsjsdownloader/VERSION
20 src = fetchFromGitHub {
24 hash = "sha256-aHVSGyrLuLX/RYf1I1dDackmOeU3m24QcwBus4Uly0I=";
27 vendorHash = "sha256-YpwbFCfI2kfmX3nI1G9OGUv5qpZ/JMis5VyUkqsESZA=";
30 cp ${hlsJs} internal/servers/hls/hls.min.js
31 echo "v${version}" > internal/core/VERSION
34 subPackages = [ "." ];
40 inherit (nixosTests) mediamtx;
44 description = "Ready-to-use RTSP server and RTSP proxy that allows to read and publish video and audio streams";
45 inherit (src.meta) homepage;
46 license = licenses.mit;
47 mainProgram = "mediamtx";
48 maintainers = with maintainers; [ fpletz ];