> For the complete documentation index, see [llms.txt](https://canardoux.gitbook.io/tau/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://canardoux.gitbook.io/tau/doc/pages/flutter-sound/examples/playback_from_stream_2.md).

# Examples

Playback From Stream (2)

## livePlaybackWithBackPressure

[livePlaybackWithBackPressure](https://github.com/canardoux/tau/blob/master/flutter_sound/example/lib/livePlaybackWithBackPressure/live_playback_with_back_pressure.dart)

A very simple 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 "StartPlayerFromBuffer().

If you do not need any back pressure, you can see another simple example : [LivePlaybackWithoutBackPressure.dart](https://github.com/canardoux/tau/tree/bb6acacc34205174a8438a13c8c0797f7bfa2143/doc/tau/player.md##liveplaybackwithoutbackpressure). 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.

The complete example source [is there](https://github.com/canardoux/tau/blob/master/flutter_sound/example/lib/livePlaybackWithBackPressure/live_playback_with_back_pressure.dart)
