DominicMaas / youtube-extractor

YouTube stream extractor library for Dart. Based on YouTubeExplode by Tyrrrz.
MIT License
85 stars 27 forks source link

How can I use this plugin if you don't appropriately expose necessary classes? #24

Open dungnv2602 opened 4 years ago

dungnv2602 commented 4 years ago

Because you don't export classes inside src folder so I cannot import them, the runtime keeps complaining about this. E.g: MediaStreamInfoSet, Container, v..v.. Basically, can't do this for now: final MediaStreamInfoSet streamInfoSet = await YouTubeExtractor().getMediaStreamsAsync(id); final MediaStreamInfoSet streamInfo = streamInfoSet.video.where((s) => s.container == Container.Mp4);

ThinkDigitalSoftware commented 4 years ago

@dungnv2602, I don't have issues with this. I can import fine. Has there been a new version since you last tried?

dungnv2602 commented 4 years ago

@ThinkDigitalSoftware Dude, look at the date I posted. I gave up on your package because of no reply from you for over a week.

ThinkDigitalSoftware commented 4 years ago

It was only 3 months ago. It looks like the package maintainer abandoned the package last year. Did you find a better one, by the way?

dungnv2602 commented 4 years ago

@ThinkDigitalSoftware I gave up on streaming youtube inside view, at least for now every package in the community doesn't suit my need.