Robotics StackExchange | Archived questions

Extract audiodata from audio_capture topic

Hello ROS community,

I am trying to create a teleoperator system that allows me to control my robot (movement, video and audio) from a website. To capture the audio I use audiocapture that takes the data and send it to a specific topic, then I use audioplay to reproduce it and all works perfectly. Now my question is: could I do something to reproduce this audio in my webpage without using audio_play?. It is necessary because it is supposed that the person who is working with the webpage does not necessary have to know how to run ros programs.

Maybe should I use some different way to stream this audio?

If the question is not described well enough let me know please. I'd be pleased to hear some answers, possible solution or just a suggestion.

Regards.

Asked by alberhhh on 2017-06-27 06:32:12 UTC

Comments

Answers

I have same problem.

Camera vedio can use "web_video_server"

When I give my partner vedio web address,he can embedded vedio to web teleoperator system .

I think, If audio have a function that like "web_video_server" . It will work.

But I am new ROS user , I don't know how to post audio to web . Orz

Asked by asps946701 on 2022-09-05 22:32:18 UTC

Comments

It's not an easy task. One approach is to have the ros audio_play launched in the background by your web UI. https://github.com/clubcapra/capra_web_ui/blob/master/src/main/audio.ts

Asked by Alex-SSoM on 2022-09-06 12:22:43 UTC

Comments