@@ -155,7 +155,7 @@ pc.ontrack = e => {
155
155
## API
156
156
157
157
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.
159
159
160
160
<pre >
161
161
// New dictionary.
@@ -174,25 +174,28 @@ enum RTCEncodedVideoFrameType {
174
174
175
175
// New interfaces to define encoded video and audio frames. Will eventually
176
176
// 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
178
178
// eventually be exposed differently.
179
179
interface RTCEncodedVideoFrame {
180
180
readonly attribute RTCEncodedVideoFrameType type;
181
181
readonly attribute unsigned long long timestamp;
182
182
attribute ArrayBuffer data;
183
183
readonly attribute ArrayBuffer additionalData;
184
+ readonly attribute unsigned long synchronizationSource;
184
185
};
185
186
186
187
interface RTCEncodedAudioFrame {
187
188
readonly attribute unsigned long long timestamp;
188
189
attribute ArrayBuffer data;
189
190
readonly attribute ArrayBuffer additionalData;
191
+ readonly attribute unsigned long synchronizationSource;
192
+ readonly attribute FrozenArray<unsigned long > contributingSources;
190
193
};
191
194
192
195
193
196
// New fields in RTCConfiguration
194
197
dictionary RTCConfiguration {
195
- ...
198
+ // ...
196
199
boolean forceEncodedVideoInsertableStreams = false;
197
200
boolean forceEncodedAudioInsertableStreams = false;
198
201
};
0 commit comments