From cb1ad31bd4669393dfd25d607131ccfb7879fd71 Mon Sep 17 00:00:00 2001 From: bil-ash <33216854+bil-ash@users.noreply.github.com> Date: Mon, 4 Mar 2024 19:45:01 +0530 Subject: [PATCH] Update script.js --- demo/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/script.js b/demo/script.js index 3f9bee2..1e2d561 100644 --- a/demo/script.js +++ b/demo/script.js @@ -39,7 +39,8 @@ const startRecording = async () => { endRecordingButton.style.display = 'block'; - let audioSampleRate = audioTrack?.getCapabilities().sampleRate.ideal; + //let audioSampleRate = audioTrack?.getCapabilities().sampleRate.ideal; + let audioSampleRate =44100; // Create an MP4 muxer with a video track and maybe an audio track muxer = new Mp4Muxer.Muxer({