Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[text-to-speech] Provide callback functionality to know when the StreamPlayer ends #43

Open
brian-chu-twc opened this issue Aug 23, 2017 · 2 comments

Comments

@brian-chu-twc
Copy link

There is no way to know if the speech has finished speaking.

AudioTrack has setPlaybackPositionUpdateListener but it is not expose to me to listen to the state of the speech (start, end, etc).

Can we have a API or the AudioTrack expose to app level?

@lpatino10
Copy link
Contributor

That definitely sounds like it could be of use, however it's not something we could get started working on right away. If you have any ideas on implementation or want to make a pull request, we would be happy to take a look.

@germanattanasio
Copy link
Contributor

Thanks a lot for filing this issue! Would you like to write a patch for this? We'd be more than happy to walk you through the steps involved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants