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!!
Convert your opus files to mp3 online & free Select the bitrate range for the Variable Bitrate (VBR) MP3 file. Note that some legacy audio players may display incorrect audio file duration if VBR mode is used, in this case use CBR mode instead. Set the constant bitrate for the audio track.
Download and install VLC from https://www.videolan.org/vlc/. You may need to right click the . opus file and select “Open With…” If VLC does not appear in the list, select “More Apps” on Windows 10 (More Options on Windows 8). Select VLC from the list and make sure the box “Always use this app to open .
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With