I'm developing an app for Recognize speech using google cloud speech APi and recording audio simultaneously. git link
I tried to play recorded .opus audio file getting IOException
W/System.err: java.io.IOException: setDataSource failed.
Any idea?? Thanks!!
A user on the android stack exchange mentioned being able to play opus files when they have a .ogg extension in newer versions of Android.
Rename your .opus files to .ogg.