RealtimePlayingInfos isBuffering always TRUE
Flutter Version
My version : 2.2.3 Stable
Lib Version
My version : ^3.0.3+6
Platform (Android / iOS / web) + version
Platform : Android
Describe the bug
ISSUE 1: I have a listener setup using your builder .builderRealtimePlayingInfos(); This infos I am getting back when I access isBuffering is always true on Android which is causing my UI to always show a CircularProgressIndicator() even after the song has started to play. Steps to reproduce - please see my code.
Any help on this would be appreciated! Thank you!
Small code to reproduce
builder: (_, RealtimePlayingInfos infos) {
if(infos.isBuffering) { // Is Buffering is always TRUE in Android
return Center(
child: Container(
width: 60,
height: 60,
child: CircularProgressIndicator()
),
);
}
if(!infos.isPlaying) {
return GestureDetector(
onTap: () {
listenProvider.play();
},
child: Container(
width: 70,
height: 70,
decoration: new BoxDecoration(
color: Colors.black,
shape: BoxShape.circle,
border: Border.all(
color: Colors.cyan,
width: 0,
),
),
child: SvgPicture.asset(
'assets/images/player_icons/player-play-icon.svg',
),
),
);
} else {
return GestureDetector(
onTap: () => listenProvider.pause(),
child: Container(
width: 70,
height: 70,
decoration: new BoxDecoration(
color: Colors.black,
shape: BoxShape.circle,
border: Border.all(
color: Colors.cyan, width: 1),
),
child: SvgPicture.asset('assets/images/player_icons/player-pause-icon.svg'),
),
);
}
}
),
Similar issue here but on iOS
When using simulator device 5s on 12.4, buffering is working. Yet, on simulator device 12 pro max on 14.4 then buffering is always true