File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ This way catalog updates are rare and a client MAY choose to not subscribe.
122122A video track contains the necessary information to decode a video stream.
123123
124124Hang 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
127127The `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.
163161The `track` field includes the name and priority of the track within the broadcast.
164162
165163The `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~~~
169167type AudioTrack = {
You can’t perform that action at this time.
0 commit comments