sirdarckcat / sirdarckcat.github.io

31 stars 11 forks source link

Experiment using the camera to sync devices #12

Open sirdarckcat opened 1 year ago

sirdarckcat commented 1 year ago

https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_API

sirdarckcat commented 1 year ago

https://w3c.github.io/webcodecs/samples/

sirdarckcat commented 1 year ago

It may be easier to actually just implement the recording using the webcodecs API than the webaudio API, as webcodecs seems to pass over timestamps as metadata

sirdarckcat commented 1 year ago

(that wouldn't need the video, but it would still be useful to record the video for debugging)

sirdarckcat commented 1 year ago

https://w3c.github.io/webcodecs/#encodedvideochunk https://w3c.github.io/webcodecs/#audiodata-interface