mapbox / mapbox/mapbox-navigation-ios
Route Voice to Device Speaker when Connected to Bluetooth
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 918
- Forks
- 326
- Avg merge
- 1h 16m
- Merged PRs (30d)
- 3
Description
Is it possible to route the navigation voice to the device's speaker when the device connects to Bluetooth in an audio system? If not, I would like to have that ability, if possible. My app users have been requesting this ability for a little while.
When I start my car, the only way I can hear the voice after my device connects to Bluetooth is if I set my radio input to the device. If I'm listening to XM/FM, the voice won't play properly. I would like the ability to play the voice over the device's speaker, if desired.
Waze has a similar feature located in Settings -> Voice & Sound -> Play Sound Via.
Android API: - iOS 10 - 12
Mapbox Navigation SDK version: - 0.31.0
Steps to trigger behavior
- Let device connect to Bluetooth
- Set radio to XM/FM/AM
- Start navigation
Expected behavior
User should be able to choose where the voice is heard in the app Settings. The choice should be between the car's audio or the device's speaker.
Actual behavior
The voice automatically is routed to the car's audio system if the device is connected via Bluetooth.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no implementation file or test. Reproduce the Bluetooth, XM/FM/AM, and navigation scenario on iOS with Mapbox Navigation SDK 0.31.0, then trace the existing voice audio routing; done means users can choose between the car audio system and the device speaker in app settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- audio-video-rtc, mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100