Skip to content

Commit be19766

Browse files
robmanRob Manson
authored and
Rob Manson
committed
Initial commit of all the code to make the video_call_with_chat_and_file_sharing.html demo application work.
1 parent 0c38808 commit be19766

7 files changed

+802
-1
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013 buildAR.com
3+
Copyright (c) 2013 Rob Manson, http://buildAR.com. All rights reserved.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,26 @@ getting_started_with_webrtc
22
===========================
33

44
Example code to help you get started creating WebRTC applications
5+
6+
For a full description of how all this code works and other examples described in more details see "Getting started with WebRTC" by Rob Manson, published by Packt Publishing (http://www.packtpub.com/).
7+
8+
webrtc_polyfill.js
9+
------------------
10+
(included inline within video_call_with_chat_and_file_sharing.html)
11+
This is a simple WebRTC polyfill based loosely on adapter.js by Adam Barth. It is designed to make it easy to write WebRTC code that runs on different browser implementations (e.g. Chrome, Firefox, etc.).
12+
13+
video_call_with_chat_and_file_sharing.html
14+
------------------------------------------
15+
This is a basic web page that connects a Caller and a Callee via a Web Socket signaling server to support a video call and text based chat with file sharing. This utilises the new_file_arriving.png and share_new_file.png files in the images directory.
16+
17+
webrtc_signal_server.js
18+
-----------------------
19+
This is a node.js based script that provides Web server and Web Socket server functionality required to support the example html based WebRTC applications.
20+
21+
This requires the "websocket" package that can be installed from the command line by typing "npm install websocket".
22+
23+
To start this server from the command line simply type "node basic_signal_server.js" then point your browser at http://localhost:1234
24+
You can replace localhost with any ip address you like and you can replace 1234 with any port you like too.
25+
26+
NOTE: It is important that the ip address you use here is also accessible by the other person you want to join your call.
27+

images/new_file_arriving.png

1.74 KB
Loading

images/share_new_file.png

1.62 KB
Loading

images/tmp.png

347 Bytes
Loading

0 commit comments

Comments
 (0)