Voice over DDS

4 posts / 0 new
Last post
Last seen: 10 years 8 months ago
Joined: 09/28/2013
Posts: 1
Voice over DDS

Hi everybody,

I am intending to conduct a research on sending voice over DDS middleware. So, I appreciate if any body can light up my way.

Thanks in advance.

Gerardo Pardo's picture
Last seen: 1 week 3 days ago
Joined: 06/02/2010
Posts: 601


Voice should not be too different from any other type of real-time stream.  Once you have decided on the CODEC to use you can define a DDS data-type to hold the packets. The data-type shuld contain an octet sequence where you would put the codified data. It might also have other fields taht you can set to support doing things like content filter on the stream.

We do not have an example that sends voice. But we do have one for video which has some similar aspects. Take a look at:  https://github.com/rticommunity/rticonnext-usecases/tree/master/VideoData



Last seen: 3 years 5 months ago
Joined: 12/03/2020
Posts: 2

do you know if any sample code for sending voice over DDS is available now?



Howard's picture
Last seen: 4 days 6 hours ago
Joined: 11/29/2012
Posts: 573

Not from RTI...as Gerardo said, once you get the coded audio data, sending/receiving via DDS is pretty straight-forward/basic.  The complicated part of getting audio from a microphone, encoding it or decoding and sending to a speaker has nothing to do with DDS...and so we have no examples of doing that part.  Sorry.  But I'm sure you can find examples that that through a general google on the web.  It'll highly depend on the OS and what hardware devices are available.