Voice over DDS

4 posts / 0 new
Last post
Offline
Last seen: 11 years 2 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.

Organization:
Gerardo Pardo's picture
Offline
Last seen: 3 weeks 6 days ago
Joined: 06/02/2010
Posts: 602

Hi,

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

Gerardo

 

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

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

Thanks

 

Howard's picture
Offline
Last seen: 20 hours 56 min ago
Joined: 11/29/2012
Posts: 608

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.