Coder Social home page Coder Social logo

Stop or Play Next about persistentstreamplayer HOT 5 CLOSED

calm avatar calm commented on August 12, 2024
Stop or Play Next

from persistentstreamplayer.

Comments (5)

tsheaff avatar tsheaff commented on August 12, 2024

Hey @karmsingh thanks for explaining this use-case.

The library currently has no concept of tracks. Each instance of PersistentStreamPlayer will play exactly one file from one URL. If you want to have multiple tracks, you'll have to either handle that outside the library, or create a (non-breaking) pull request that makes the PersistentStreamPlayer support multiple URLs (e.g. and array).

from persistentstreamplayer.

karmsingh avatar karmsingh commented on August 12, 2024

Thanks for your input. I understand and will create something for this purpose. In order to save some time can you tell me what is the underlying AV module this player depends on? Is it MPMovie or something...I would like to see if there is a built in method to stop/skip I can send. Thanks again

from persistentstreamplayer.

tsheaff avatar tsheaff commented on August 12, 2024

It uses AVPlayer. See here

from persistentstreamplayer.

karmsingh avatar karmsingh commented on August 12, 2024

great. thanks!

from persistentstreamplayer.

karmsingh avatar karmsingh commented on August 12, 2024

FYI - AVPlayer doesn't have a stop function see here: http://stackoverflow.com/questions/17831764/how-to-stop-a-video-in-avplayer

from persistentstreamplayer.

Related Issues (7)

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.