mirror of
https://github.com/servo/servo.git
synced 2025-06-25 09:34:32 +01:00
18 lines
528 B
JavaScript
18 lines
528 B
JavaScript
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
// META: script=./RTCPeerConnection-helper.js
|
|
|
|
'use strict';
|
|
|
|
idl_test(
|
|
['webrtc-encoded-transform'],
|
|
['webrtc', 'streams', 'html', 'dom'],
|
|
async idlArray => {
|
|
idlArray.add_objects({
|
|
// TODO: RTCEncodedVideoFrame
|
|
// TODO: RTCEncodedAudioFrame
|
|
RTCRtpSender: [`new RTCPeerConnection().addTransceiver('audio').sender`],
|
|
RTCRtpReceiver: [`new RTCPeerConnection().addTransceiver('audio').receiver`],
|
|
});
|
|
}
|
|
);
|