startPlaybackStream method

  1. @override
Stream<List<int>> startPlaybackStream(
  1. String path
)
override

Start audio playback stream

Note: On web, playback streaming is not supported. Use the play() method instead.

Implementation

@override
Stream<List<int>> startPlaybackStream(String path) async* {
  throw UnimplementedError(
    'Playback streaming is not supported on web platform. '
    'Use the play() method for audio playback instead. '
    'The play() method supports local files and network URLs (HTTP/HTTPS).',
  );
}