W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2020

Re: [mediacapture-record] What is the "important"difference between start/stop and pause/resume methods? (#195)

From: guest271314 via GitHub <sysbot+gh@w3.org>
Date: Wed, 19 Feb 2020 17:44:18 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-588350454-1582134257-sysbot+gh@w3.org>
If the media source is non-line and being played at an `HTMLMediaElement` then `currentTime` can be set to the value of the previous `pause` or `stop`. FWIW several approaches to recording media files to same media container https://github.com/guest271314/MediaFragmentRecorder/branches. 

Concatenating multiple WebM or other container or containerless media into a single file is possible, and the media can be played back in sequence from the discrete recordings as long as a) the length of the various recordings is known; or b) the merged file is parsed to locate the beginning and ends of the merged files, e.g., https://github.com/WebAudio/web-audio-api-v2/issues/61#issue-554979782. Yes, `start()` does metadata. `pause()`, `resume()` does not write new metadata.

Re "valid" and "invalid" that depends on what the criteria is and what you are trying to achieve.

-- 
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/195#issuecomment-588350454 using your GitHub account
Received on Wednesday, 19 February 2020 17:44:19 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:50 UTC