samdutton / simpl

Simplest possible examples of HTML, CSS and Javascript:
https://simpl.info
Apache License 2.0
5.19k stars 1.64k forks source link

timeslice must be multiples of 60 #178

Open zhulinghao opened 1 year ago

zhulinghao commented 1 year ago

chrome Version 109.0.5414.120 When I call the start method timeslice is 10ms The interval for the ondataavailable callback is 60ms

samdutton commented 1 year ago

Hi @zhulinghao — thanks for filing the issue, and apologies for the very delayed response. I somehow missed this.

I see what you mean! I've now increased the start() timeslice value to 1000 in simpl.info/mediarecorder, and added logging for the interval. (May take a while to propagate.)