From be0d2514eb7de22cddeab88e37d857d3429e82e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Thu, 7 Dec 2023 00:43:22 +1100 Subject: [PATCH] Editorial: let ReSpec handle id assignment (#337) Note byte stream format specs and registry have been updated to stop hardcoding definition IDs. --- media-source-respec.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/media-source-respec.html b/media-source-respec.html index 61046d8..147020c 100644 --- a/media-source-respec.html +++ b/media-source-respec.html @@ -121,49 +121,49 @@

Goals

Definitions

-
Active Track Buffers
+
Active Track Buffers

The [=track buffers=] that provide [=coded frames=] for the {{AudioTrack/enabled}} {{HTMLMediaElement/audioTracks}}, the {{VideoTrack/selected}} {{HTMLMediaElement/videoTracks}}, and the or {{HTMLMediaElement/textTracks}}. All these tracks are associated with SourceBuffer objects in the {{MediaSource/activeSourceBuffers}} list.

-
Append Window
+
Append Window

A [=presentation timestamp=] range used to filter out [=coded frames=] while appending. The append window represents a single continuous time range with a single start time and end time. Coded frames with [=presentation timestamp=] within this range are allowed to be appended to the SourceBuffer while coded frames outside this range are filtered out. The append window start and end times are controlled by the {{SourceBuffer/appendWindowStart}} and {{SourceBuffer/appendWindowEnd}} attributes respectively.

-
Coded Frame
+
Coded Frame

A unit of media data that has a [=presentation timestamp=], a [=decode timestamp=], and a [=coded frame duration=].

-
Coded Frame Duration
+
Coded Frame Duration

The duration of a [=coded frame=]. For video and text, the duration indicates how long the video frame or text SHOULD be displayed. For audio, the duration represents the sum of all the samples contained within the coded frame. For example, if an audio frame contained 441 samples @44100Hz the frame duration would be 10 milliseconds.

-
Coded Frame End Timestamp
+
Coded Frame End Timestamp

The sum of a [=coded frame=] [=presentation timestamp=] and its [=coded frame duration=]. It represents the [=presentation timestamp=] that immediately follows the coded frame.

-
Coded Frame Group
+
Coded Frame Group

A group of [=coded frames=] that are adjacent and have monotonically increasing [=decode timestamps=] without any gaps. Discontinuities detected by the [=coded frame processing=] algorithm and {{SourceBuffer/abort()}} calls trigger the start of a new coded frame group.

-
Decode Timestamp
+
Decode Timestamp

The decode timestamp indicates the latest time at which the frame needs to be decoded assuming instantaneous decoding and rendering of this and any dependant frames (this is equal to the [=presentation timestamp=] of the earliest frame, in [=presentation order=], that is dependant on this frame). If frames can be decoded out of [=presentation order=], then the decode timestamp MUST be present in or derivable from the byte stream. The user agent MUST run the [=append error=] algorithm if this is not the case. If frames cannot be decoded out of [=presentation order=] and a decode timestamp is not present in the byte stream, then the decode timestamp is equal to the [=presentation timestamp=].

-
Initialization Segment
+
Initialization Segment

A sequence of bytes that contain all of the initialization information required to decode a sequence of [=media segments=]. This includes codec initialization data, [=Track ID=] mappings for multiplexed segments, and timestamp offsets (e.g., edit lists).

The [=byte stream format specifications=] in the byte stream format registry [[MSE-REGISTRY]] contain format specific examples.

-
Media Segment
+
Media Segment

A sequence of bytes that contain packetized & timestamped media data for a portion of the . Media segments are always associated with the most recently appended [=initialization segment=].

The [=byte stream format specifications=] in the byte stream format registry [[MSE-REGISTRY]] contain format specific examples.