Tutorial step 1:

Step 1: 90% of the job done

Let us start by creating an almost empty web page:

<!DOCTYPE html>
<html><head>
<script type="module">
import { wrtcObject} from "/luci-static/resources/wrtc_kit_m.js";
const wrtc = new wrtcObject();
</script>
</head><body>
</body></html>

Congratulations, 90% of the functionality of your web client is already implemented!

By importing the wrtc_kit_m.js file to your page and creating an instance wrtc of the javascript object wrtcObject your web page will connect to your IXNX unit and be prepared to make and receive WebRTC calls.

All we need to do are some configurations of the wrtc object, and deciding the layout and functionality of your client.

While wrtc_kit_m.js allows wrtc_kit to work on most web browsers we strongly suggest using the Chrome web browser as Chrome's implementation of WebRTC is far more complete than all other browsers'.

Step 2: Look at me!

ixnx/wrtc/js/tutorial/step1.txt · Last modified: by migration
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0