https://github.com/qxip/rtpengine-speech2text
Simple RTPEngine Speech-to-Text Recording Spooler
https://github.com/qxip/rtpengine-speech2text
bing mp3 node nodejs recognition record recording rtp rtpengine speech speech-recognition speech-to-text spooler wav
Last synced: 5 months ago
JSON representation
Simple RTPEngine Speech-to-Text Recording Spooler
- Host: GitHub
- URL: https://github.com/qxip/rtpengine-speech2text
- Owner: QXIP
- Created: 2017-10-11T00:07:07.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-08T19:22:55.000Z (about 1 year ago)
- Last Synced: 2025-05-01T06:47:53.985Z (5 months ago)
- Topics: bing, mp3, node, nodejs, recognition, record, recording, rtp, rtpengine, speech, speech-recognition, speech-to-text, spooler, wav
- Language: JavaScript
- Homepage: http://sipcapture.io
- Size: 48.8 KB
- Stars: 16
- Watchers: 7
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RTP:Engine Speech-to-Text Spooler
Simple RTPEngine Speech-to-Text Spooler using Whisper on CPU(s)### Usage
This simple tool assumes a fully working RTPEngine WAV recorder setup and relies on its natural metadata removal pattern to pick, process and clear recording files.-----------
### HEP Usage
Speech Recognition results can be streamed to **HOMER** or **HEPIC** using the **HEP** Type 100 container.Both transcription and sentiment analysis is available. Transcription is always on, while sentiment analysis is opt-in via ENV var.
Below is an overview of the defaults and ENV vars
```js
/**
* Environment Variables
*/
const HEP_SERVER = process.env.HEP_SERVER || '127.0.0.1'
const HEP_TRANS = process.env.HEP_TRANS || 'udp4'
const HEP_PORT = process.env.HEP_PORT || 9060
const HEP_PASS = process.env.HEP_PASS || '123'
const HEP_ID = process.env.HEP_ID || 44567
const sentimentEnabled = process.env.SENTIMENT || 'false'
const timeout = process.env.TIMEOUT || 8000
const offset = process.env.OFFSET || 1000
const debug = process.env.DEBUG || false
``````bash
OFFSET=5000 META_PATH=/var/spool/rtpengine REC_PATH=/path/to/RTPEngine/recording_dir HEP_TRANS='udp4' HEP_SERVER='capture.homer.com' HEP_PORT=9060 node sentiment2hep.mjs
```* Wait for RTP traffic
* Watch HEP logs fly out!```
U 172.18.0.2:52593 -> x.x.x.x:9060
HEP3.%...................
.........
.........................
Y.._...
.
..........d.....
..........BINGO.....'6f9db20deb1a9871-ce2fa1345463393b......Um well I got a right now I got this absence of argan oil um for shipping handling in handling Costa fried 9-9 sample of it and um if I want to.
```
* Check your Session for Logs
