Skip to content

Commit a2e0903

Browse files
authored
Small fixes. (#8)
1 parent 5cfbcfd commit a2e0903

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

draft-lcurley-moq-hang.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ This way catalog updates are rare and a client MAY choose to not subscribe.
122122
A video track contains the necessary information to decode a video stream.
123123

124124
Hang uses the [VideoDecoderConfig](https://www.w3.org/TR/webcodecs/#video-decoder-config).
125-
This contains all of the information needed to configure a video decoder.
125+
Any Uint8Array fields are hex-encoded into a string.
126126

127127
The `track` field includes the name and priority of the track within the broadcast.
128128

@@ -146,10 +146,8 @@ For example:
146146
},
147147
"config": {
148148
"codec": "avc1.64001f",
149-
"dimensions": {
150-
"width": 1280,
151-
"height": 720
152-
},
149+
"codedWidth": 1280,
150+
"codedHeight": 720,
153151
"bitrate": 6000000,
154152
"framerate": 30.0
155153
}
@@ -163,7 +161,7 @@ An audio track contains the necessary information to decode an audio stream.
163161
The `track` field includes the name and priority of the track within the broadcast.
164162

165163
The `config` field contains an [AudioDecoderConfig](https://www.w3.org/TR/webcodecs/#audio-decoder-config).
166-
This contains all of the information needed to configure an audio decoder.
164+
Any Uint8Array fields are hex-encoded into a string.
167165

168166
~~~
169167
type AudioTrack = {

0 commit comments

Comments
 (0)