#1841 closed task (wontfix)
Review Android audio output latency
Reported by: | nanang | Owned by: | nanang |
---|---|---|---|
Priority: | normal | Milestone: | release-2.5 |
Component: | pjmedia-audiodev | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description (last modified by ismangil)
Here is some info about it:
- https://www.youtube.com/playlist?list=PLYFVGGYGuLlZhNLnCaV13SfWpWZNVKBLN
- https://github.com/gkasten/high-performance-audio
Thanks Johan Lantz for the suggestion.
Change History (4)
comment:1 Changed 9 years ago by nanang
- Resolution set to wontfix
- Status changed from new to closed
comment:2 Changed 6 years ago by ismangil
- Description modified (diff)
comment:3 Changed 6 years ago by ismangil
- Description modified (diff)
comment:4 Changed 6 years ago by ismangil
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
After some research, here are some points about Android audio device latency:
Implementing the method described in ref 5 in point c above are considered not so effective, e.g: it requires some rather big effort (some steps are quite complex), may only work on few devices, and may not work as expected, note that non-blocking algo possibly requires additional threading (encoding, etc, are blocking operations) and buffering introduced in pjmedia, so more latency will be introduced.
Tried to use superpowered SDK audio device wrapper (open source), but it doesn't work very well too, for example no indication of using Fast Mixer, hardcoded to stereo mode.
So for now, with the good news described in point d above, hopefully people is in hurry upgrading OS or even devices (just as iOS users ;) and latency would be no longer an issue.
References: