You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2021-12-07 23:17:35.373 12950-12950/ I/StarrySky: title = xx
音频是否有改变 = false
是否立即播放 = true
url = /storage/emulated/0/Music/test.m4a
2021-12-07 23:17:35.374 12950-12950/ I/StarrySky: isPlayWhenReady = true
2021-12-07 23:17:35.374 12950-12950/ I/StarrySky: ---------------------------------------
Tested Device emulator 25 Google Api
val info = SongInfo()
info.songName = "xx"
info.songId = "5"
info.songUrl = "/storage/emulated/0/Music/test.m4a"
//StarrySky.newPlayer(0)?.play(info, true) // Working
//StarrySky.with().playMusicByInfo(info) // not work
I think problem audiofocus
audioManager.requestAudioFocus(onAudioFocusListener, STREAM_MUSIC, AUDIOFOCUS_GAIN) == AUDIOFOCUS_REQUEST_GRANTED
test device false
LOG
2021-12-07 23:17:35.373 12950-12950/ I/StarrySky: title = xx
音频是否有改变 = false
是否立即播放 = true
url = /storage/emulated/0/Music/test.m4a
2021-12-07 23:17:35.374 12950-12950/ I/StarrySky: isPlayWhenReady = true
2021-12-07 23:17:35.374 12950-12950/ I/StarrySky: ---------------------------------------
Tested Device emulator 25 Google Api
My Application
The text was updated successfully, but these errors were encountered: