You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-13 19:42:25 +03:00
27 lines
722 B
HTML
27 lines
722 B
HTML
<html>
|
|
<head>
|
|
<title>VoIP Test</title>
|
|
<script src="lib/matrix.js"></script>
|
|
<script src="browserTest.js"></script>
|
|
</head>
|
|
<body>
|
|
You can place and receive calls with this example. Make sure to edit the
|
|
constants in <code>browserTest.js</code> first.
|
|
<div id="config"></div>
|
|
<div id="result"></div>
|
|
<button id="call">Place Call</button>
|
|
<button id="answer">Answer Call</button>
|
|
<button id="hangup">Hangup Call</button>
|
|
<div id="videoBackground">
|
|
<div id="videoContainer">
|
|
<video id="remote"></video>
|
|
</div>
|
|
</div>
|
|
<div id="videoBackground">
|
|
<div id="videoContainer">
|
|
<video id="local"></video>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|