MediaPlayer.setDataSource(url) with HTTPS URLs can silently fail due to certificate issues, redirect handling, or listener race conditions (listeners were set after prepareAsync). Fix: download the WAV file via OkHttp (same client as all other network calls) to a temp file, set listeners before prepareAsync, play from local path. Temp file cleaned up on completion/error. |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||