AudioEncoderoutput emits 1st EncodedAudioChunkbyteLength8 and duration60000. 2d EncodedAudioChunk emits byteLength of 409 with duration60000 (44100 input sample rate).
That does not appear to be correct. How can an 8byteLengthEncodedAudioChunk have same duration as a 409byteLengthEncodedAudioChunk?
When Media Source Entensions is used for playback that winds up losing 1 second of playback, which is 1:35 when playing the WAV file, HTMLMediaElementcurrentTime reaches 1:34.
Resampling input to 48000 does not change the 1st EncodedAudioChunkbyteLength nor playback ending 1 second prematurely.
AudioEncoder
output
emits 1stEncodedAudioChunk
byteLength
8
andduration
60000
. 2dEncodedAudioChunk
emitsbyteLength
of409
withduration
60000
(44100
input sample rate).That does not appear to be correct. How can an
8
byteLength
EncodedAudioChunk
have sameduration
as a409
byteLength
EncodedAudioChunk
?When Media Source Entensions is used for playback that winds up losing 1 second of playback, which is
1:35
when playing the WAV file,HTMLMediaElement
currentTime
reaches1:34
.Resampling input to
48000
does not change the 1stEncodedAudioChunk
byteLength
nor playback ending 1 second prematurely.blade_runner.wav.zip