TranscriptionService hardcodes Android SpeechRecognizer — backend abstraction layer is entirely dead code #3
Labels
No labels
blocked:children
blocked:needs-decision
blocked:needs-human
blocked:verify-failed
bug
deferred
enhancement
feature-request
in-progress
needs-decompose
needs-triage
quickfix
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/transcriber#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
TranscriptionService.startTranscription() (lines 93-167) directly creates SpeechRecognizer.createSpeechRecognizer(this) and never calls SpeechBackend.select(). The entire provider abstraction layer (TranscriptionProvider interface, SpeechBackend selection logic, CloudTranscriptionProvider, FireOSTranscriptionProvider) is unreachable at runtime. This is the root cause that makes all non-Android backends dead code.
Location
Suggested approach
This is a prerequisite for issues #1 and #2 to have any effect at runtime.
Fixed in commit. Closing.