我知道使用mediaSource是可行的,但媒体源不支持所有视频格式(例如片段mp4)。这是一个问题,因为我的应用程序没有可以修复文件的服务器。它只是一个客户端应用程序。constblob=awaitipfs.getBlobFromStream(hash)consturl=URL.createObjectURL(blob)this.setState({...this.state,videoSrc:url})constgetBlobFromStream=async(hash)=>{returnnewPromise(asyncresolve=>{letentireBufferconsts=