Skip to content

Switch to Opus audio codec. Support USB / ICS-43432 microphone(s) via auto-detection.#110

Draft
jkaczman wants to merge 1 commit into
mainfrom
feat/opus-audio
Draft

Switch to Opus audio codec. Support USB / ICS-43432 microphone(s) via auto-detection.#110
jkaczman wants to merge 1 commit into
mainfrom
feat/opus-audio

Conversation

@jkaczman

Copy link
Copy Markdown
Collaborator

Previously, our microphone used a lot of CPU (~25%) with 3 piped processes and using the AAC codec. This has been significantly improved through a non-piped implementation using the Opus codec. Now we're at roughly 1-3% CPU for the microphone.

Additionally, beforehand we only supported ICS-43432 microphone. This has been changed to now auto-detect and support both a USB microphone or ICS-43432 microphone.

Notably, in addition to the significant CPU performance increase, Opus is required to support WebRTC livestreams (secluso/mobile_client#11). So this is stepping stone for that that is now complete.

Future work should fix livestream audio (as noted in #36). I did not attempt to solve that.

Pairs with secluso/os#31 for the OS compatibility side of things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant