The Ï„ Player API
startPlayerFromStream().
startPlayerFromStream()
This functionnality needs, at least, and Android SDK >= 21
The only codec supported is actually Codec.pcm16.
The only value possible for numChannels is actually 1.
SampleRate is the sample rate of the data you want to play.
Please look to
Example You can look to the three provided examples :
shows how to play Live data, with Back Pressure from Flutter Sound
shows how to play Live data, without Back Pressure from Flutter Sound
shows how to play some real time sound effects.
Example 1:
</div>
Example 2:
</div>