audio_data_response library

Constants

finalChunkFlag → const int
nonFinalChunkFlag → const int

Functions

audioDataResponse(Stream<List<int>> dataResponse) Stream<Uint8List>
Audio data stream with a single element of a raw audio clip (using non-final and final message types to accumulate from Frame)
audioDataStreamResponse(Stream<List<int>> dataResponse) Stream<Uint8List>
Real-time Audio data stream A listener can subscribe and unsubscribe and resubscribe to the returned broadcast Stream multiple times. The Stream only is Done when the final chunk message code is sent from Frame