Closed SimonPeter1909 closed 4 years ago
Audio playback is based on mediaplayer and supports m4a files
ok. But AudioManager.instance.playOrPause()
is always returning false.
That may be because the media resource failed to load, I need to add an error message.
Below is the log I printed
I/flutter (30621): buffering 100
I/flutter (30621): await -- true
I/flutter (30621): {url: https://fdfs.xmcdn.com/group45/M05/82/AB/wKgKjlt55kKRse-KADE6m6WsfuE514.m4a, title: title, desc: desc, cover: https://cdn.jsdelivr.net/gh/flutterchina/website@1.0/images/flutter-mark-square-100.png}
I/flutter (30621): await -- false
I/flutter (30621): await -- true
Does this player support M4A format? the player is not working when I tried to play an M4A URL.