25 lines
528 B
HTML
25 lines
528 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<script type="application/javascript" src="pc.js"></script>
|
|
</head>
|
|
<body>
|
|
<pre id="test">
|
|
<script type="application/javascript">
|
|
createHTML({
|
|
bug: "1038926",
|
|
title: "Basic windowshare-only peer connection"
|
|
});
|
|
|
|
runNetworkTest(function (options) {
|
|
const test = new PeerConnectionTest(options);
|
|
const constraints = {
|
|
video: { mediaSource: "window" },
|
|
};
|
|
test.setMediaConstraints([constraints], []);
|
|
return test.run();
|
|
});
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|