This is a starter project for working with WebRTC. This demo showcases how to use the following packages to build a fully functional WebRTC application:
-
The
rtc-quickconnect
package provides operations that make it simpler to work with WebRTC peer connections. -
Media capture and rendering.
-
A websocket powered signaling server that is used to help setup peer connections between two clients.
First, clone this repository:
git clone https://github.com/rtc-io/rtcio-demo-quickconnect.git
Next, install node dependencies:
cd rtcio-demo-quickconnect
npm install
Once the dependencies have been installed, you should then be able to run the demonstration server:
npm start
If everything has worked correctly, you should now be able to open your browser to the following url:
You can test that you have WebRTC peer connections operating correctly by opening two browser windows to the same url; or, you can find someone else that has access to your machine and point them to: http://your.ip:3000/. All being well you should be able to communicate with that person using WebRTC!
Copyright 2014 National ICT Australia Limited (NICTA)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.