PlayerStream constructor

const PlayerStream(
  1. Stream<Playlist> playlist,
  2. Stream<bool> playing,
  3. Stream<bool> completed,
  4. Stream<Duration> position,
  5. Stream<Duration> duration,
  6. Stream<double> volume,
  7. Stream<double> rate,
  8. Stream<double> pitch,
  9. Stream<bool> buffering,
  10. Stream<Duration> buffer,
  11. Stream<PlaylistMode> playlistMode,
  12. Stream<AudioParams> audioParams,
  13. Stream<VideoParams> videoParams,
  14. Stream<double?> audioBitrate,
  15. Stream<AudioDevice> audioDevice,
  16. Stream<List<AudioDevice>> audioDevices,
  17. Stream<Track> track,
  18. Stream<Tracks> tracks,
  19. Stream<int?> width,
  20. Stream<int?> height,
  21. Stream<List<String>> subtitle,
  22. Stream<PlayerLog> log,
  23. Stream<String> error,
)

PlayerStream

Event Streams for subscribing to Player events.

Implementation

const PlayerStream(
  this.playlist,
  this.playing,
  this.completed,
  this.position,
  this.duration,
  this.volume,
  this.rate,
  this.pitch,
  this.buffering,
  this.buffer,
  this.playlistMode,
  this.audioParams,
  this.videoParams,
  this.audioBitrate,
  this.audioDevice,
  this.audioDevices,
  this.track,
  this.tracks,
  this.width,
  this.height,
  this.subtitle,
  this.log,
  this.error,
);