isBufferingStateChangeAllowed property
A flag to prevent changes to state.buffering
due to pause
causing core-idle
to be true
.
This is used to prevent state.buffering
being set to true
when pause or playOrPause is called.
Implementation
bool isBufferingStateChangeAllowed = true;