Giter Club home page Giter Club logo

flutter's Issues

Background playback w/ Foreground Service

The things that the Service needs to do:

  • Maintain websocket connection
    • Reconnect on network changes
    • Reconnect on other network failure
  • Handle advance websocket messages
    • Update the player
    • Update the notification
  • Cache websocket messages so they can be passed to Dart when the app is foregrounded
  • Future: handle chat websocket messages only for mention notifications
  • Handle upvoting and downvoting through the notification box
  • Handle disconnecting through the notification box
    • This should quit the player and the service
    • The app should detect, when foregrounded, that it's no longer connected and navigate to the server list page

Ideally, the player should have a defined API so we can switch between NewPipe and Official™ YouTube™ at build time. Then the Official™ YouTube™ version could be published on the Play Store maybe. For SoundCloud we could use ExoPlayer, the HTTP API, and an API key.

Chat autoscroll

Need to make an issue for this so I don't forget about it all the time. The chat needs a ScrollController/(???) that will auto-scroll it to the bottom when

  1. we were previously scrolled to the bottom, and
  2. a new message came in

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.