Skip to content

Commit 219dc98

Browse files
committed
Use unsigned long instead of long for positive values
webkit implementation already uses unsigned long for some of these https://github.com/WebKit/WebKit/blob/5858e9511bb3d3306db3c4bc0973c521cdc97a03/Source/WebCore/Modules/mediastream/RTCEncodedVideoFrame.idl
1 parent 4242a87 commit 219dc98

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

index.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -283,14 +283,14 @@ enum RTCEncodedVideoFrameType {
283283
};
284284

285285
dictionary RTCEncodedVideoFrameMetadata {
286-
long long frameId;
286+
unsigned long long frameId;
287287
sequence<long long> dependencies;
288288
unsigned short width;
289289
unsigned short height;
290-
long spatialIndex;
291-
long temporalIndex;
292-
long synchronizationSource;
293-
sequence<long> contributingSources;
290+
unsigned long spatialIndex;
291+
unsigned long temporalIndex;
292+
unsigned long synchronizationSource;
293+
sequence<unsigned long> contributingSources;
294294
};
295295

296296
// New interfaces to define encoded video and audio frames. Will eventually
@@ -304,8 +304,8 @@ interface RTCEncodedVideoFrame {
304304
};
305305

306306
dictionary RTCEncodedAudioFrameMetadata {
307-
long synchronizationSource;
308-
sequence<long> contributingSources;
307+
unsigned long synchronizationSource;
308+
sequence<unsigned long> contributingSources;
309309
};
310310

311311
[Exposed=(Window,DedicatedWorker)]

0 commit comments

Comments
 (0)