DominicMaas / youtube-extractor

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

streamInfo.video audio problem #19

Open szbk opened 4 years ago

szbk commented 4 years ago

The videos we reach with streamInfo.video.first.url do not sound? No sound on any of these videos?

secretwpn commented 4 years ago

This is by design. When you retrieve media streams you get 3 different collections: audio for audio-only, video for video-only and muxed for video + audio. Just use streamInfo.muxed.first.url

szbk commented 4 years ago

can I use it with the video resolution I want?

secretwpn commented 4 years ago

well if your video has the resolution you're after - why not. go through the muxed list and filter/find what you need based on any parameters