Skip to content

Commit dbe375f

Browse files
authored
Merge pull request #223 from handellm/timestamp
Update https://w3c.github.io/mediacapture-record/#dom-blobeventinit-timecode.
2 parents 48e2abf + 5cf4f29 commit dbe375f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

MediaRecorder.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -680,10 +680,11 @@ enum RecordingState {
680680
encoding of the blob data.
681681

682682
<dt><dfn attribute for="BlobEvent"><code>timecode</code></dfn></dt>
683-
<dd>The difference between the timestamp of the first chunk in
684-
{{BlobEvent/data}} and the timestamp of the first chunk in the first
685-
{{BlobEvent}} produced by this recorder as a {{DOMHighResTimeStamp}} [[!HR-TIME]]. Note that the {{BlobEvent/timecode}}
686-
in the first produced {{BlobEvent}} does not need to be zero.
683+
<dd>For a MediaRecorder instance, the {{BlobEvent/timecode}} in the first
684+
produced {{BlobEvent}} MUST contain 0. Subsequent {{BlobEvent}}'s
685+
{{BlobEvent/timecode}} contain the difference of the timestamp of creation of
686+
the first chunk in said {{BlobEvent}} and the timestamp of the first chunk of the
687+
first produced {{BlobEvent}}, as {{DOMHighResTimeStamp}} [[!HR-TIME]].
687688
</dd>
688689

689690
</dl>

0 commit comments

Comments
 (0)