getStreamManifest method
- 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]!;
}