SwiftAudio icon indicating copy to clipboard operation
SwiftAudio copied to clipboard

Player state not updated after triggering the play()

Open gorbat-o opened this issue 4 years ago • 0 comments

Describe the bug / To Reproduce

try? player.load(item: audioItem, playWhenReady: false)
player.play()
print(player.playerState == AudioPlayerState.playing) // false but should be true technically

Expected behavior When using the function player.play(), I believe it supposed to change the player.playerState to .playing and not stay on .loading

Smartphone (please complete the following information):

  • Device: Simulator iPhone 11 Pro Max
  • OS: iOS 13.5

Thanks! :)

gorbat-o avatar Jul 15 '20 22:07 gorbat-o