w3c / media-source

Media Source Extensions
https://w3c.github.io/media-source/
Other
267 stars 57 forks source link

支持wav格式的吗 #244

Closed mkxj closed 4 years ago

mkxj commented 4 years ago

支持wav格式的吗,如果支持,mime咋写,是audio/wav吗

guest271314 commented 4 years ago

Not currently MediaSource.isTypeSupported("audio/wav") returns false at Firefox and Chromium.

If the WAV file is formatted as Float32Arrays it is possible to stream the audio using Web Audio API AudioWorkletProcessor.

wolenetz commented 4 years ago

This is a duplicate of #55 Thank you for the report. We are considering feature requests like this for possible inclusion in the next version of MSE.