WebRTC welcomes patches/pulls for features and bug fixes!

For contributors external to Google, follow the instructions given in the Google Individual Contributor License Agreement. In all cases, contributors must sign a contributor license agreement before a contribution can be accepted. Please complete the agreement for an individual or a corporation as appropriate.

If you plan to add a new sample or make significant changes to an existing sample, we recommend that you start by creating a new issue where we can discuss the details.

When creating a new sample or updating an existing one, please make sure you also create, or update any existing, tests. All tests in this repository are implemented as Nightwatch.JS UI tests, so please follow the same design in your own.

How to start developing a patch, new feature or bug fix

Clone the repo in desired folder

git clone https://github.com/webrtc/samples.git

Install npm dependencies

npm install

Start web server for development

From the root of the checkout do cd web_server then run node server.js and finally navigate your browser to https://localhost:8080.