clubcapra / capra_web_ui

Web UI for ROS robots
https://github.com/clubcapra/capra_web_ui/releases/latest
GNU General Public License v3.0
26 stars 11 forks source link

Test the audio_capture and audio_play with the robot #44

Open lvanasse opened 4 years ago

lvanasse commented 4 years ago

We just fixed the bug with the audio_capture and audio_play nodes over the network. It would be good to start investigating what we need to make it work with the Web UI.

lit-af commented 4 years ago

The audio branch might be helpful as it was confirmed to be working at the competition.

lit-af commented 4 years ago

@IceSentry I think I figured that you'll need to rewrite the audio_play node and the audio_capture node using the GStreamer JS API

lit-af commented 4 years ago

It looks like https://github.com/RobotWebTools/webrtc_ros server supports the Web Audio API.

IceSentry commented 3 years ago

So, the current workaround for this is to just start the capra_audio node as a child process of the ui. Eventually we would like something better, but for now this should do the job. Unfortunately this only works on linux. Windows could work with wsl when the newer wslg with audio supports is available.