зеркало из https://github.com/mozilla/gecko-dev.git
24 строки
465 B
HTML
24 строки
465 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: "796888",
|
|
title: "Basic video-only peer connection"
|
|
});
|
|
|
|
var test;
|
|
runNetworkTest(function (options) {
|
|
test = new PeerConnectionTest(options);
|
|
test.setMediaConstraints([{video: true}], [{video: true}]);
|
|
test.run();
|
|
});
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|