Skip to content

Commit f409175

Browse files
authored
Merge pull request #12 from alvestrand/guidou-update-explainer-2
Update IDL and minor fixes
2 parents 3afa413 + b119677 commit f409175

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

explainer.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ pc.ontrack = e => {
155155
## API
156156

157157
The following are the IDL modifications proposed by this API.
158-
Future iterations will add additional operations following a similar pattern.
158+
Future iterations may add additional operations following a similar pattern.
159159

160160
<pre>
161161
// New dictionary.
@@ -174,25 +174,28 @@ enum RTCEncodedVideoFrameType {
174174

175175
// New interfaces to define encoded video and audio frames. Will eventually
176176
// re-use or extend the equivalent defined in WebCodecs.
177-
// The additionalData fields contain metadata about the frame and might be
177+
// The additionalData fields contain metadata about the frame and will
178178
// eventually be exposed differently.
179179
interface RTCEncodedVideoFrame {
180180
readonly attribute RTCEncodedVideoFrameType type;
181181
readonly attribute unsigned long long timestamp;
182182
attribute ArrayBuffer data;
183183
readonly attribute ArrayBuffer additionalData;
184+
readonly attribute unsigned long synchronizationSource;
184185
};
185186

186187
interface RTCEncodedAudioFrame {
187188
readonly attribute unsigned long long timestamp;
188189
attribute ArrayBuffer data;
189190
readonly attribute ArrayBuffer additionalData;
191+
readonly attribute unsigned long synchronizationSource;
192+
readonly attribute FrozenArray<unsigned long> contributingSources;
190193
};
191194

192195

193196
// New fields in RTCConfiguration
194197
dictionary RTCConfiguration {
195-
...
198+
// ...
196199
boolean forceEncodedVideoInsertableStreams = false;
197200
boolean forceEncodedAudioInsertableStreams = false;
198201
};

0 commit comments

Comments
 (0)