2013-04-02 15:06:59 +00:00
|
|
|
|
<!DOCTYPE HTML>
|
|
|
|
|
<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"
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
runTest(function() {
|
|
|
|
|
var test = new PeerConnectionTest();
|
|
|
|
|
test.setOfferConstraints({ mandatory: {
|
|
|
|
|
OfferToReceiveVideo: true,
|
|
|
|
|
OfferToReceiveAudio: true
|
|
|
|
|
}});
|
|
|
|
|
test.run();
|
2013-05-02 17:33:15 +00:00
|
|
|
|
});
|
2013-04-02 15:06:59 +00:00
|
|
|
|
</script>
|
|
|
|
|
</pre>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|