Failed to execute 'createObjectURL' on 'URL':

后端 未结 8 1328
暗喜
暗喜 2020-11-27 10:52

Display Below error in Safari.

Failed to execute \'createObjectURL\' on \'URL\': No function was found that matched the signature provided.

8条回答
  •  独厮守ぢ
    2020-11-27 11:22

    I had the same error for the MediaStream. The solution is set a stream to the srcObject.

    From the docs:

    Important: If you still have code that relies on createObjectURL() to attach streams to media elements, you need to update your code to simply set srcObject to the MediaStream directly.

提交回复
热议问题