Open hassineOthmane opened 3 years ago
Hello @hassineOthmane !
Does it fallback to the SystemSpeechSynthesizer
in your case?
If you are not using NavigationViewController
, please make sure that you are calling RouteVoiceController.didPassSpokenInstructionPoint(notification: )
so that MapboxSpeechSynthesizer
has enough time to prefetch vocalization data, since it needs some time to make an API request for this.
hello @Udumft
thanks for your answer , no is not fallback to SystemSpeechSynthesizer, i'm calling RouteVoiceController.didPassSpokenInstructionPoint(notification: ) and i'm downloading the data from amazon but the audioplayer play without voice ....
That is strange. Any other clues you may report? What localization do you use? Is it related to some specific route? Is it possible to share some minimal demo which reproduces the issue?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Mapbox Navigation SDK version: 1.0.0
i'm trygin to custom my navigation View Controller (i don't use NavigationViewController of mapbox) , everything work fine before this version : But now the MapboxSpeechSynthesizer don't work :
let speechSynthesizer = MultiplexedSpeechSynthesizer([MapboxSpeechSynthesizer(), SystemSpeechSynthesizer()] as? [SpeechSynthesizing]) let routeVoiceController = RouteVoiceController(navigationService: navigationService, speechSynthesizer: speechSynthesizer)
MapboxSpeechSynthesizer detect well instructions of mapbox (notifications) but can't play audio of amazon . is work fine only with NavigationViewController. SystemSpeechSynthesizer also work fine when i maked it like a first element.