ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Extract audiodata from audio_capture topic

asked 2017-06-27 06:32:12 -0600

alberhhh gravatar image

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 audio_capture that takes the data and send it to a specific topic, then I use audio_play 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.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2022-09-05 22:32:18 -0600

asps946701 gravatar image

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

edit flag offensive delete link more
0

answered 2022-09-06 12:22:43 -0600

Alex-SSoM gravatar image

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_we...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-06-27 06:32:12 -0600

Seen: 257 times

Last updated: Sep 06 '22