From 9c8b26f6fd5b08474dd14d377f720b4063d2a411 Mon Sep 17 00:00:00 2001 From: gspinoza <31670639+gspinoza@users.noreply.github.com> Date: Wed, 21 Feb 2024 09:29:33 -0500 Subject: [PATCH] doc: Fix variable naming inconsistency in MP4Box initialization --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f10485fb..99a56ec0 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,7 @@ Indicates that no more data will be received and that all remaining samples shou ### Segmentation ### ```javascript -var mp4box = MP4Box.createFile(); +var mp4boxfile = MP4Box.createFile(); mp4boxfile.onReady = function(info) { ... mp4boxfile.onSegment = function (id, user, buffer, sampleNumber, last) {}