streamproc / MediaStreamRecorder

Cross browser audio/video/screen recording. It supports Chrome, Firefox, Opera and Microsoft Edge. It even works on Android browsers. It follows latest MediaRecorder API standards and provides similar APIs.
https://www.webrtc-experiment.com/msr/
MIT License
2.62k stars 563 forks source link

exact sync of video and audio #184

Open sunwell1994 opened 2 years ago

sunwell1994 commented 2 years ago

Can we guarantee to record the video stream and audio stream in the exact sync mode? As I know, hardware and digital processing can always bring some delays for several milliseconds. Are their timestamps able to bring the latency to much less than 1 millisecond? Thanks.

ROBERT-MCDOWELL commented 1 year ago

you should create a timecode like smpte timecode and sync both video and audio on it.