- From: Michiel Westerbeek via GitHub <sysbot+gh@w3.org>
- Date: Wed, 14 Dec 2022 18:49:37 +0000
- To: public-webrtc-logs@w3.org
Right now I start the mediarecorders (1 for screen, 1 for cam), wait for both to be started, show a 3s countdown, then mark that actual start point as a "cut" to remove from the start. I check the onStarted on the mediarecorders and use that to remove ~3s from each of the videos. So quick example: Start recording, check onStarted, took 500ms to start the mediarecorder, so we want to remove 3s (countdown) - 500ms from the start of that video. I do the same for cam. It's not ideal and there is definitely a chance for things to get out of sync but it's the most accurate I've been able to make it. Been also working with a mac app recently and the CMSampleBuffers there have presentationTimestamps which are great because they do contain timing info. Would be great if browsers also get that. -- GitHub Notification of comment by happylinks Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/208#issuecomment-1351973315 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 14 December 2022 18:49:39 UTC