2014-07-10 18:31:25 +00:00
|
|
|
<!DOCTYPE HTML>
|
2013-04-02 15:06:59 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
|
|
<script type="application/javascript" src="head.js"></script>
|
|
|
|
<script type="application/javascript" src="pc.js"></script>
|
2013-03-15 15:39:01 +00:00
|
|
|
<script type="application/javascript" src="templates.js"></script>
|
2014-05-15 16:41:00 +00:00
|
|
|
<script type="application/javascript" src="turnConfig.js"></script>
|
2013-04-02 15:06:59 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<pre id="test">
|
|
|
|
<script type="application/javascript">
|
|
|
|
createHTML({
|
|
|
|
bug: "850275",
|
|
|
|
title: "Simple offer media constraint test with video/audio"
|
|
|
|
});
|
|
|
|
|
2014-06-13 14:56:00 +00:00
|
|
|
runNetworkTest(function() {
|
2013-04-02 15:06:59 +00:00
|
|
|
var test = new PeerConnectionTest();
|
2014-07-10 18:31:25 +00:00
|
|
|
test.setOfferOptions({
|
|
|
|
offerToReceiveVideo: true,
|
|
|
|
offerToReceiveAudio: true
|
|
|
|
});
|
2013-04-02 15:06:59 +00:00
|
|
|
test.run();
|
2013-05-02 17:33:15 +00:00
|
|
|
});
|
2013-04-02 15:06:59 +00:00
|
|
|
</script>
|
|
|
|
</pre>
|
|
|
|
</body>
|
|
|
|
</html>
|