Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Errors
- This test failed 1 times in the preceding 30 days. quicksearch this test
- 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: "1040346",
title: "Basic H.264 video-only peer connection"
});
runNetworkTest(async function (options) {
const h264Support = checkPlatformH264CodecPrefs();
ok(h264Support.any, "Should have some H264 support everywhere");
if (!h264Support.any) {
return;
}
options = options || { };
options.h264 = true;
const test = new PeerConnectionTest(options);
test.setMediaConstraints([{video: true}], [{video: true}]);
await test.run();
});
</script>
</pre>
</body>
</html>