File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 3356
3356
{{DOMException}}.
3357
3357
3. Let |frame| be a new {{VideoFrame}}.
3358
3358
5. Switch on |image|:
3359
+
3360
+ NOTE: Authors are encouraged to provide a meaningful timestamp unless it is
3361
+ implicitly provided by the {{CanvasImageSource}} at construction.
3362
+ Interfaces that consume {{VideoFrame}}s can rely on this value for
3363
+ timing decisions. For example, {{VideoEncoder}} can use
3364
+ {{VideoFrame/timestamp}} values to guide rate control (see
3365
+ {{VideoEncoderConfig/framerate}}).
3366
+
3359
3367
- {{HTMLImageElement}}
3360
3368
- {{SVGImageElement}}
3361
3369
1. If {{VideoFrameInit/timestamp}} does not [=map/exist=] in
3570
3578
The {{VideoFrame/timestamp}} getter steps are to return
3571
3579
{{VideoFrame/[[timestamp]]}}.
3572
3580
3573
- NOTE: Authors are encouraged to provide a meaningful timestamp unless it is
3574
- implicitly provided by the {{CanvasImageSource}} at construction.
3575
- Interfaces that consume {{VideoFrame}}s can rely on this value for
3576
- timing decisions. For example, {{VideoEncoder}} can use
3577
- {{VideoFrame/timestamp}} values to guide rate control (see
3578
- {{VideoEncoderConfig/framerate}}).
3579
-
3580
3581
: < dfn attribute for =VideoFrame > duration</ dfn >
3581
3582
:: The presentation duration, given in microseconds. The duration is copied
3582
3583
from the {{EncodedVideoChunk}} corresponding to this VideoFrame.
You can’t perform that action at this time.
0 commit comments