GithubHelp home page GithubHelp logo

Acquire WIFI lock too about exomedia HOT 6 CLOSED

brianwernick avatar brianwernick commented on May 23, 2024
Acquire WIFI lock too

from exomedia.

Comments (6)

brianwernick avatar brianwernick commented on May 23, 2024

What area of the library are you talking about? EMVideoView, EMAudioPlayer, EMPlaylistService?

from exomedia.

bkhall avatar bkhall commented on May 23, 2024

Well, in the particular app I'm writing, we are using your EMAudioPlayer to stream an mp3 icecast feed.

No to worry though, we grab our own wifi and wake locks. I was just noticing that your library has the wake lock capability too, but could possibly also use a wifi lock for remote streaming, in whatever widget it applies to.

from exomedia.

brianwernick avatar brianwernick commented on May 23, 2024

Hmm, OK. I'll think about it some more before I give a definitive answer either way...

from exomedia.

bkhall avatar bkhall commented on May 23, 2024

Yep, that's all my comment was meant for - something to think about.

from exomedia.

brianwernick avatar brianwernick commented on May 23, 2024

OK. I've decided not to handle the WiFi lock in the EMAudioPlayer or EMVideoView because I don't want to worry about handling edge cases between local/web playback and keeping/releasing the locks.

However, I think that the WiFi lock should be updated in the EMPlaylistService to support locking when videos are playing as well. That said, the change probably won't make it in to ExoMedia (instead it will be in PlaylistCore once the separation is complete for the 3.0 ExoMedia release). If you are interested in an explanation for the separation see #48 (comment)

from exomedia.

brianwernick avatar brianwernick commented on May 23, 2024

I'm going to close this as it is now out of scope on ExoMedia. I've added this to my list of things to do for PlaylistCore

from exomedia.

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.