WebAV icon indicating copy to clipboard operation
WebAV copied to clipboard

fetch 在微前端的应用里被重复调用,会导致body的ReadableStream locked:true,MP4Clip拿不到audio

Open teyra opened this issue 9 months ago • 2 comments

控制台打印错误:Cannot read properties of undefind (reading 'audio')

image

teyra avatar May 10 '24 03:05 teyra

无法读取的流 SDK 会抛出错误,方便分析原因,具体问题(无法读取的原因)需要你解决

hughfenghen avatar May 10 '24 03:05 hughfenghen

locked 的 Stream 去初始化 Clip 当前是有明确的错误信息的, stream instanceof ReadableStream 返回的也是 true。 并不会如你截图所示,打印不明确的错误。 @teyra 请确认下

image

hughfenghen avatar May 13 '24 10:05 hughfenghen