Giter VIP home page Giter VIP logo

webrtc's Introduction

Build Status

WebRTC code samples

This is a repository for client-side WebRTC code samples and the AppRTC video chat client.

Some of the samples use new browser features. They may only work in Chrome Canary and/or Firefox Beta, and may require flags to be set.

All of the samples use adapter.js, a shim to insulate apps from spec changes and prefix differences. In fact, the standards and protocols used for WebRTC implementations are highly stable, and there are only a few prefixed names. For full interop information, see webrtc.org/interop.

NB: all samples that use getUserMedia() must be run from a server. Calling getUserMedia() from a file:// URL will result in a PermissionDeniedError NavigatorUserMediaError. See What are some chromium command-line flags relevant to WebRTC development/testing? for relevant flags.

For more information about WebRTC, we maintain a list of WebRTC Resources. If you've never worked with WebRTC, we recommend you start with the 2013 Google I/O WebRTC presentation.

Patches and issues welcome!

The demos

getUserMedia

Basic getUserMedia demo

getUserMedia + canvas

getUserMedia + canvas + CSS Filters

getUserMedia with resolution constraints

getUserMedia with camera/mic selection

Audio-only getUserMedia output to local audio element

Audio-only getUserMedia displaying volume

Face tracking

RTCPeerConnection

Basic peer connection

Audio-only peer connection

Multiple peer connections at once

Forward output of one peer connection into another

Munge SDP parameters

Use pranswer when setting up a peer connection

Adjust constraints, view stats

Display createOffer output

Use RTCDTMFSender

Display peer connection states

ICE candidate gathering from STUN/TURN servers

Web Audio output as input to peer connection

RTCDataChannel

Data channels

Video chat

Complete video chat client (based on Google App Engine)

Test pages

Audio and Video streams

Constraints

Iframe apprtc

Iframe video

Multiple audio streams

Multiple peerconnections

Multiple video devices

Multiple video streams

Peer2peer

Peer2peer iframe

Single audio stream

Single video stream

webrtc's People

Contributors

samdutton avatar juberti avatar kaptenjansson avatar andresusanopinto avatar minyuel avatar tkchin avatar marwahvikas avatar fischman avatar fippo avatar yellowdoge avatar jiayliu avatar cwilso avatar cvan avatar wpp avatar sachanacar avatar alvestrand avatar piranna avatar anthmfs avatar doep avatar praveenkishor123 avatar braveyao avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.