21 lines
663 B
JavaScript
21 lines
663 B
JavaScript
// META: variant=?exclude=SFrameTransform.*
|
|
// META: variant=?include=SFrameTransform.*
|
|
// META: script=/common/subset-tests-by-key.js
|
|
// 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`],
|
|
});
|
|
}
|
|
);
|