Skip to content

Feature: Get bluetooth profile#24

Open
0x4bit wants to merge 1 commit intoTarlogicSecurity:mainfrom
0x4bit:feature-get-bluetooth-profile
Open

Feature: Get bluetooth profile#24
0x4bit wants to merge 1 commit intoTarlogicSecurity:mainfrom
0x4bit:feature-get-bluetooth-profile

Conversation

@0x4bit
Copy link

@0x4bit 0x4bit commented Feb 6, 2026

core.py hardcoded headset-head-unit-msbc as the used bluetooth profile for recording.
That led to (unhandled) crashes if the device did not supported this profile.

I added a function to get an available sources profile to use.
It prefers headset-head-unit but defaults to returning the first available source if thats not supported.
Preferred profile is changeable by constant.

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