Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bil-ash authored Mar 4, 2024
1 parent 3d9e8d3 commit cb1ad31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit cb1ad31

Please sign in to comment.