Skip to content

penggy/easy-rtp-parser

Repository files navigation

easy-rtp-parser

easy rtp parser

install

npm i @penggy/easy-rtp-parser

usage

const Parser = require('@penggy/easy-rtp-parser');

var rtp = Parser.parseRtpPacket(rtpBuf);
console.log(`ssrc : ${rtp.ssrc}`);

var bKeyframe = Parser.isKeyframeStart(rtp.payload);
console.log(`key frame : ${bKeyframe}`);

About

easy rtp parser for NodeJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published