Open lvanasse opened 5 years ago
The audio branch might be helpful as it was confirmed to be working at the competition.
@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
It looks like https://github.com/RobotWebTools/webrtc_ros server supports the Web Audio API.
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.
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.