EasyRTC Framework Tutorial needs few additional instructions

223 views
Skip to first unread message

Nikolaj Ivancic

unread,
Aug 4, 2014, 6:20:21 PM8/4/14
to eas...@googlegroups.com
I am writing this to help future readers if the document at http://easyrtc.com/docs/guides/easyrtc_client_tutorial.html:

The section
<head>
  ...
   
<link rel="stylesheet" type="text/css" href="/easyrtc/easyrtc.css" />
   
<script src="/socket.io/socket.io.js"></script>
   
<script type="text/javascript" src="/easyrtc/easyrtc.js"></script>
   
<script type="text/javascript" src="mylogic.js"></script>
  ...
</head>
would benefit from explanation where to grab socket.io.js particularly since the sample would not work with the current version obtained from the http://socket.io/ site.

Note: I do realize that running "pm install" of the complete sample as fetched from github will get all right parts, but this tutorial should be working for people who read it and create the application by copy and paste. Also, not everyone would use node as the server which further strengthens my "analysis" here.

Similarly the section 
<body>
   ...
   
<video  style="float:left" id="self" width="300" height="200" muted="muted"></video>
   
<div style="position:relative;float:left;width:300px">
       
<video id="caller" width="300" height="200"></video>
   
</div>
   ...
</body>
does not show how will the ```function my_init``` defined next, be invoked. There are other similar issues, I wanted to point out just the few.

Reply all
Reply to author
Forward
0 new messages