Coder Social home page Coder Social logo

1995parham / krtp Goto Github PK

View Code? Open in Web Editor NEW
34.0 3.0 11.0 787 KB

node.js implementation of rtp, rtcp protocols. RFC 3550

License: GNU General Public License v3.0

JavaScript 6.01% TypeScript 93.99%
realtime-protocol rtp rtcp rtp-session rtp-packet rtcp-packets

krtp's Introduction

Koochooloo RTP

GitHub Workflow Status npm version npm

Introduction

RealTime Protocol implementation based on RFC 3550 in NodeJS. It supports RTP and SR message of RTCP. All contributions are welcome. KRTP has support for rxjs.

Example

const Session = require("../dist").Session;

const s = new Session(1373);

s.on("message", (msg) => {
  console.log(msg);
  s.close();
});

s.sendSR("192.168.73.4").catch((err) => {
  console.log(err);
});
s.send(Buffer.from("Hello world"));
import { Session } from "..";

const s = new Session(1372);
s.message$.subscribe((msg) => console.log(msg));

krtp's People

Contributors

1995parham avatar dependabot[bot] avatar froggs avatar jneuendorf-i4h avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

krtp's Issues

Stream Support

Add support for writing using nodejs native streams in V3.

Typescript

Rewrite the project in typescript. Typescript provides us with type safety and corrects hidden problems of the project.

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.