Play stream with flow control example
The example source is there. You can have a live run of the examples here.
An example showing how to play Live Data with back pressure. It feeds a live stream, waiting that the futures are completed for each block.
This example get the data from an asset file, which is completely stupid : if an App wants to play an asset file he must use startPlayer(fromDataBuffer:). Then it calls startPlayerFromStream() to play the buffer
If you do not need any back pressure, you can see another simple example : LivePlaybackWithoutBackPressure.dart. This other example is a little bit simpler because the App does not need to await the playback for each block before playing another one.