Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do the audio and video subsystems of standard Linux systems deal with real time requirements?


Using the RT Preempt kernel patch, if you care about latency.


Buffers.


Badly.

Only macOS has an architecture to deal with low-latency audio and video properly. Presumably iOS has some of those features as well, but it was on OS X that Apple did some deep architectural changes for proper low-latency audio and video.


It was admittedly several years ago, but I worked on a voice chat app for iOS and Android, and the behaviour on Android was horrifying. iOS had very consistent and great audio latency (approx 10ms if I recall). Android devices were all over the place; I think the worst one I tested was over 150ms.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: