Playing webm chunks as standalone video

前端 未结 2 1010
小鲜肉
小鲜肉 2020-12-18 07:30

I\'ve built some code that will get the MediaRecorder API to capture audio and video, and then use the ondataavailable function to send the corresponding webm file blobs up

2条回答
  •  庸人自扰
    2020-12-18 08:25

    With MSE, you can load the first chunk containing the WebM segment with track info and what not, and then start loading a cluster later on. The browser will figure it out.

    WebM clusters begin with timestamps, which enable this to work.

提交回复
热议问题