Skip to content

Commit

Permalink
Make encoding default value references more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
pthatcherg committed Sep 10, 2019
1 parent 982e191 commit 3c42e9f
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions index.bs
Expand Up @@ -1742,9 +1742,11 @@ separate QUIC streams.
start time and duration.

: duration
:: If present, the duration of the audio frame. The time
scale is inferred from the properties of the encoding. Likewise, if not
present, the duration is inferred from the properties of the encoding.
:: If present, the duration of the audio frame. If not present, the
duration is equal to the `default-duration` field of the
`audio-encoding-offer` message referenced by the `encoding-id`.
The time scale is equal to the value in the `time-scale` field of
the `audio-encoding-offer` message referenced by the `encoding-id`.

: sync-time
:: If present, a time used to synchronize the start time of this audio frame (and
Expand Down Expand Up @@ -1797,19 +1799,22 @@ ending at the last dependent frame.
start time and duration.

: duration
:: If present, the duration of the video frame. The time
scale is inferred from the properties of the encoding. If not
present, that means duration is unknown.
:: If present, the duration of the video frame. If not present, that
means duration is unknown. The time scale is equal to the value
in the `time-scale` field of the `video-encoding-offer` message
referenced by the `encoding-id`.

: sync-time
:: If present, a time used to synchronize the start time of this frame (and
thus, this encoding) with that of other media encodings on different
timelines.

: rotation
:: If present, indicates how the frame should be rotated after decoding but
before rendering. Rotation is clockwise in increments of 90 degrees.
The default is 0 (no rotation).
:: If present, indicates how the frame should be rotated after
decoding but before rendering. Rotation is clockwise in
increments of 90 degrees. The default is equal to the
`default-rotation` field of the `video-encoding-offer` message
referenced by the `encoding-id`.

: payload
:: The encoded video frame (encoded image). The codec and codec parameters are
Expand Down Expand Up @@ -1846,12 +1851,14 @@ that makes sense for a specific type of data.
inferred from the start time and duration.

: duration
:: If present, the duration of the data frame. The time
scale is inferred from the properties of the encoding. Likewise, if not
present, the duration is inferred from the properties of the encoding.
:: If present, the duration of the data frame. If not present, the
duration is equal to the `default-duration` field of the
`data-encoding-offer` message referenced by the `encoding-id`.
The time scale is equal to the value in the `time-scale` field of
the `data-encoding-offer` message referenced by the `encoding-id`.

: sync-time
:: If present, a time used to synchronize the start time of this audio frame (and
:: If present, a time used to synchronize the start time of this data frame (and
thus, this encoding) with that of other media encodings on different
timelines.

Expand Down

0 comments on commit 3c42e9f

Please sign in to comment.