Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'android'
- Manifest: dom/media/webrtc/tests/mochitests/mochitest_peerconnection.toml
<!DOCTYPE HTML>
<html>
<head>
<script type="application/javascript" src="pc.js"></script>
</head>
<body>
<pre id="test">
<script type="application/javascript">
createHTML({
bug: "1921154",
title: "Basic AV1 video-only peer connection"
});
var test;
runNetworkTest(async function (options) {
await SpecialPowers.pushPrefEnv({
set: [["media.webrtc.codec.video.av1.enabled", true]]
});
options = options || { };
options.av1 = true;
test = new PeerConnectionTest(options);
test.setMediaConstraints([{video: true}], [{video: true}]);
return test.run();
});
</script>
</pre>
</body>
</html>