https://github.com/libersys/rtp-ogg-opus
RTP Ogg/Opus Tools for NodeJS
https://github.com/libersys/rtp-ogg-opus
binary bindings module napi native ogg ogg-opus opus rtp rtp-streaming
Last synced: 2 months ago
JSON representation
RTP Ogg/Opus Tools for NodeJS
- Host: GitHub
- URL: https://github.com/libersys/rtp-ogg-opus
- Owner: libersys
- License: other
- Created: 2020-08-02T18:42:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-09T05:25:40.000Z (almost 3 years ago)
- Last Synced: 2025-03-11T01:52:03.493Z (3 months ago)
- Topics: binary, bindings, module, napi, native, ogg, ogg-opus, opus, rtp, rtp-streaming
- Language: C++
- Homepage:
- Size: 16.1 MB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# rtp-ogg-opus
RTP Ogg/Opus Tools for NodeJS
## Introduction
This module contains five useful transform streams to work with RTP and Ogg/Opus. This classes are based on native bindings to
libopus 1.3.1 and libogg 1.3.4. The core of this library is based on [opus-tools 0.2](https://opus-codec.org/release/dev/2018/09/18/opus-tools-0_2.html).- OggOpusToRtp: used to read ogg/opus files or streams and send them through RTP.
- RtpDecoder: used to decode RTP packets into streams (payload).
- RtpEncoder: used to encode streams into RTP packets.
- RtpOpusToPcm: used to read RTP Opus encoded packets and convert them to Linear PCM.
- RtpToOggOpus: used to read RTP Opus encoded packets and encapsulate them in Ogg containers.## Installation
```sh
npm install rtp-ogg-opus
```## Usage
Check out our [examples project](https://github.com/libersys/rtp-ogg-opus-examples).