getStreamManifest method

StreamManifest getStreamManifest(
  1. MediaItem item
)

Gets the StreamManifest if in cache and fetches it and stores it if otherwise.

Implementation

StreamManifest getStreamManifest(MediaItem item) {
  String videoId = VideoId(item.mediaIdentifier).value;
  return _streamManifestCache[videoId]!;
}