Giter Club home page Giter Club logo

ion-sfu's Introduction


Ion SFU

Go implementation of a WebRTC Selective Forwarding Unit

Slack Widget Build Status GoDoc Coverage Status Go Report Card License: MIT


A selective forwarding unit is a video routing service which allows webrtc sessions to scale more efficiently. This package provides a simple, flexible, high performance Go implementation of a WebRTC SFU. It can be called directly or through a gRPC or json-rpc interface.

Getting Started

Running the json-rpc signaling server

If you have a local golang environment already setup, simply run

go build ./cmd/signal/json-rpc/main.go && ./main -c config.toml

If you prefer a containerized environment, you can use the included Docker image

docker run -p 50051:50051 -p 5000-5020:5000-5020/udp pionwebrtc/ion-sfu:latest-jsonrpc

Running the grpc signaling server

If you have a local golang environment already setup, simply run

go build ./cmd/signal/grpc/main.go && ./main -c config.toml

If you prefer a containerized environment, you can use the included Docker image

docker run -p 50051:50051 -p 5000-5020:5000-5020/udp pionwebrtc/ion-sfu:latest-grpc

Interacting with the server

To get an idea of how to interact with the ion-sfu instance, check out our examples.

Processing Media

ion-sfu supports real-time processing on media streamed through the sfu using ion-avp.

For an example of recording a MediaStream to webm, checkout the save-to-webm example.

License

MIT License - see LICENSE for full text

ion-sfu's People

Contributors

tarrencev avatar adwpc avatar cloudwebrtc avatar jbrady42 avatar renovate-bot avatar kangshaojun avatar renovate[bot] avatar orlandoco avatar sashaaro avatar sean-der avatar gqadonis avatar decanus avatar cgojin avatar kevmo314 avatar tannergabriel avatar leewardbound avatar cameronej avatar obasajujoshua31 avatar at-wat avatar billylindeman avatar 0x11-dev avatar ainilili avatar lumexralph avatar pionbot avatar wrufesh avatar codeslinger avatar vicramon avatar t-yuki avatar feixiao avatar jinleileiking 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.