Coder Social home page Coder Social logo

Comments (7)

Hexer10 avatar Hexer10 commented on August 28, 2024

I'm sorry but I don't understand what do you want to achieve, could you send me your current code and what do you want at the end?

from youtube_explode_dart.

kindkmj avatar kindkmj commented on August 28, 2024

yt.videos.streamsClient.getManifest(youtubeVideoId).then((manifest) {
yt.close();

  Iterable<yta.VideoStreamInfo> muxedData = manifest.muxed;
  Iterable<yta.VideoStreamInfo> videoData = manifest.video;
  Iterable<yta.AudioStreamInfo> audioData = manifest.audio;

I'm using it according to the way it's shown, and the mainfest contains data such as muxed video audio, but if I use it as an iPhone, I can only use muxed. This data is combined with video and audio, so it doesn't change the quality. How is it used? Or is there another way?

from youtube_explode_dart.

Hexer10 avatar Hexer10 commented on August 28, 2024

What do you mean? When you test your app on an iPhone it doesn't fetch any audio or video stream?

from youtube_explode_dart.

kindkmj avatar kindkmj commented on August 28, 2024

I want to know how to control the video quality on the iPhone.
Is the package possible?

from youtube_explode_dart.

MeTubeapp avatar MeTubeapp commented on August 28, 2024

yes you can fetch muxed data in two quality....

this code is same for iphone or android
Iterable < MuxedStreamInfo > video = snapshot.data.muxed;
1----for low quality -----> url: video.first.url.toString(),

2---for high quality ----> url: video .last .url .toString(),

or if you want more quality then you have mix audio and video ... because muxed only contain two quality....

i hope it is help you,....

from youtube_explode_dart.

kindkmj avatar kindkmj commented on August 28, 2024

Is it possible to play it on the iPhone with a file other than muxed?

from youtube_explode_dart.

Hexer10 avatar Hexer10 commented on August 28, 2024

On the iPhone you can play any stream in whatever quality your prefer... This library is not platform dependant, but if you want the best quality, as already said you need to mix the audio and stream only qualities

from youtube_explode_dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.