GithubHelp home page GithubHelp logo

ts-webrtc's Introduction

dev

npm i
npm start

Example in JS

https://github.com/hnasr/javascript_playground/tree/master/webrtc

sequenceDiagram
    peer1->>+peer1: create offer1
    peer1->>+server: push offer1
    peer1->>+peer2: share id
    server->>+peer2: pull offer1
    peer2->>+peer2: create offer2 from offer1
    peer2->>+server: push offer2
    peer1->>+server: pull offer2
    peer1->>+peer2: create connection from offer2
Loading

summary

A wants to connect to B A creates an "offer", it finds all ICE candidates, security options, audio/video options and generates SDP, the offer is basically the SDP A signals the offer somehow to B (server todo) B creates the "answer" after setting A's offer B signals the "answer" to A

bookmarks

https://www.html5rocks.com/en/tutorials/webrtc/basics/#toc-disruptive https://rustwasm.github.io/wasm-bindgen/examples/webrtc_datachannel.html

vanilla example

https://github.com/paul-asvb/ts-webrtc/blob/6e9f987788f45f2489184c51f90a1fe9252f73ec/index.ts

ts-webrtc's People

Contributors

paul-asvb avatar

Stargazers

Roman avatar

Watchers

 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.