Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High latency of audio_capture audio stream #196

Open
reisenhofer opened this issue Aug 12, 2022 · 2 comments
Open

High latency of audio_capture audio stream #196

reisenhofer opened this issue Aug 12, 2022 · 2 comments
Labels

Comments

@reisenhofer
Copy link

I am working on a project where we use live transmissions of an audio stream captured from a microphone (via audio_capture) and a video stream from a webcam (via video_stream_opencv). We work with Python and ROS Noetic on Ubuntu 20.04 and use audio_play and image_view, respectively, to playback the streams at a remote location.

Compared to the video stream, the audio_capture/audio_play audio stream has a latency of more than 1 (maybe even 2) seconds. To me, this seems unnecessarily high, in particular as the audio stream should require much less bandwidth than the video stream. Can you think of any possibility of reducing this latency when working with audio_capture/audio_play?

Thanks so much in advance!

@knorth55
Copy link
Member

I have no idea.
can you check if the high latency also occurs in alsa or non-ROS programs?

@pourya-shahverdi
Copy link

Check your local network bandwidth. I moved to Ethernet, and the latency is much better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants