Skip to content

Conversation

@liviu-padurariu
Copy link
Contributor

Hi,
I think the iOS implementation is missing a the part where you can configure the audio output of the TextToSpeak.

I grouped all the iOS Tts option under iosOptions to be similiar with the android ones and added a the functionality to change the audio output on iOS.

Kind regards,
Liviu

@ak1394
Copy link
Owner

ak1394 commented Nov 27, 2021

Hi! Thanks for the PR, I just got around to look at it, sorry for the delay. PR looks good, but I wonder why the change from setCategory:AVAudioSessionCategoryPlayback to setCategory:AVAudioSessionCategoryPlayAndRecord ?

@liviu-padurariu
Copy link
Contributor Author

Hi, in order to change the audio output to earpiece you need to set the category to AVAudioSessionCategoryPlayAndRecord.

@liviu-padurariu
Copy link
Contributor Author

Hey, I know this is pretty old. But is there anything stopping this to be merged?

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.

2 participants