Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

wtcross/node-rtpengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-rtpengine

A Node client library for rtpengine.

Note: very much a work in progress!

The intent of this library is to make it easy to build tools that work with rtpengine. Rtpengine has a UDP-based API that involves sending a message of the following form:

[request cookie][space][bencoded request command payload]

It will respond with a message like:

[request cookie][space][bencoded reply payload]

This library abstracts away the UDP mess and makes it possible to work with rtpengine like this:

var client = new Client();

client.query({
	callId : "6eb82892-6804-4002-b2b6-363b7e11e435"
})
.then(function (reply) {
	// do something with the reply payload
})
.finally(client.destroy);

There is an example CLI in this repo that uses the library.

About

A Node client for rtpengine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published