From f675966004dcfee693b58272494a132bc42dce9f Mon Sep 17 00:00:00 2001
From: Vanilagy <1696106+Vanilagy@users.noreply.github.com>
Date: Mon, 16 Jun 2025 15:55:38 +0200
Subject: [PATCH] Metamuxer -> Mediabunny
---
build.mjs | 12 +--
dev/convert.html | 22 ++--
dev/demux.html | 118 +++++++++++-----------
dev/live.html | 16 +--
dev/mux.html | 34 +++----
dev/player.html | 12 +--
examples/file-compression/index.html | 2 +-
examples/live-recording/index.html | 2 +-
examples/media-player/index.html | 2 +-
examples/metadata-extraction/index.html | 2 +-
examples/procedural-generation/index.html | 2 +-
examples/thumbnail-generation/index.html | 2 +-
package-lock.json | 4 +-
package.json | 16 +--
scripts/append-namespace.ts | 2 +-
tsconfig.vite.json | 2 +-
vite.config.ts | 2 +-
17 files changed, 126 insertions(+), 126 deletions(-)
diff --git a/build.mjs b/build.mjs
index ffd622c..753d14d 100644
--- a/build.mjs
+++ b/build.mjs
@@ -12,11 +12,11 @@ const umdConfig = {
format: 'iife',
// The following are hacks to basically make this an UMD module. No native support for that in esbuild as of today
- globalName: 'Metamuxer',
+ globalName: 'Mediabunny',
footer: {
js:
-`if (typeof module === "object" && typeof module.exports === "object") Object.assign(module.exports, Metamuxer)`,
+`if (typeof module === "object" && typeof module.exports === "object") Object.assign(module.exports, Mediabunny)`,
},
};
@@ -27,20 +27,20 @@ const esmConfig = {
const ctxUmd = await esbuild.context({
...umdConfig,
- outfile: 'dist/metamuxer.js',
+ outfile: 'dist/mediabunny.js',
});
const ctxEsm = await esbuild.context({
...esmConfig,
- outfile: 'dist/metamuxer.mjs',
+ outfile: 'dist/mediabunny.mjs',
});
const ctxUmdMinified = await esbuild.context({
...umdConfig,
- outfile: 'dist/metamuxer.min.js',
+ outfile: 'dist/mediabunny.min.js',
minify: true,
});
const ctxEsmMinified = await esbuild.context({
...esmConfig,
- outfile: 'dist/metamuxer.min.mjs',
+ outfile: 'dist/mediabunny.min.mjs',
minify: true,
});
diff --git a/dev/convert.html b/dev/convert.html
index a92d43c..00322c1 100644
--- a/dev/convert.html
+++ b/dev/convert.html
@@ -1,6 +1,6 @@
-
+
+
+
+
+