krtp

3.2.1 • Public • Published

Koochooloo RTP

GitHub Workflow Status GitHub stars npm version npm license 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/

    Package Sidebar

    Install

    npm i krtp

    Weekly Downloads

    29

    Version

    3.2.1

    License

    GPL-3.0

    Unpacked Size

    78.8 kB

    Total Files

    24

    Last publish

    Collaborators

    • 1995parham