Access to raw Opus bytes for sending them to Deepgram speech-to-text service
232 views
Skip to first unread message
pmin...@digitalsamba.com
unread,
May 16, 2022, 12:30:34 PM5/16/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to meetecho-janus
Hi,
We are investigating a way to integrate Janus with Deepgram Speech to text service. They support Opus streams, but the issue is Janus rtp_forward uses RTP packets. So we cannot just send RTP packets to Deepgram.
Is there a way Janus to unwrap/depacketize the RTP packets and forward only the raw Opus bytes to a concrete port?
What do you suggest?
Thank you in advance!
Lorenzo Miniero
unread,
May 17, 2022, 8:00:56 AM5/17/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to meetecho-janus
You'll need an RTP forward recipient that can unwrap the frame from the RTP packet, which is not hard. If you don't want to do it yourself, I guess you can use a GStreamer pipeline for the purpose, which just depacketizes RTP. How to access the payload to use with Deepgram is up to you.
L.
sergey radionov
unread,
May 20, 2022, 2:26:25 AM5/20/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to meetecho-janus
Hi
I'm using RTP forwarders (Audiobridge and Videoroom plugins) with my own Node.js plugin https://github.com/RSATom/wcjs-gs receive and send audio frames to Google Speech-To-Text engine. In my case it works well enough...