Giter VIP home page Giter VIP logo

Comments (6)

izderadicka avatar izderadicka commented on June 11, 2024 1

New web client is PWA and is now default client.
As mentioned above it should be served through trusted https to enable "progressive" features like Service Worker and caching.
But as recommended by PWA guidelines, basic functionality is available without Service Worker and secure context.

from audioserve.

izderadicka avatar izderadicka commented on June 11, 2024

I quickly looked at PWA and there are two main requirement for PWA

  1. JSON Manifest
    I think that should be no big deal, only thing is that some icons should be added to dist resources

  2. PWA should load all it's resources via Service Workers
    This is much more problematic - It would probably require bit of redesign of web client.
    Not sure if tag can work in PWA as it accesses audio resources directly.
    Does has anybody experiences with PWA audio application?
    I suspect then one will have to dive deep into Cache API and Service Workers and Web Audio API to make it work properly. On the other hand this can bring advanced caching and (some) offline capabilities similar to android client.

For now I'm not planing to dive into this.

from audioserve.

izderadicka avatar izderadicka commented on June 11, 2024

Looks like people are just using element (so no special caching)- Service worker is used just for loading other resources

https://www.pwabuilder.com

Inspiration :
https://github.com/robinbakker/1tuner
https://github.com/iondrimba/pwa-music-player
https://github.com/arma7x/pwa-audio-player

from audioserve.

izderadicka avatar izderadicka commented on June 11, 2024

@KodeStar - this could be an idea for new web client?

from audioserve.

KodeStar avatar KodeStar commented on June 11, 2024

Yeah, I planned to look into it, will add it to the projects board so I don’t forget

from audioserve.

KodeStar avatar KodeStar commented on June 11, 2024

I have the app running as a PWA, https://audioserve.coderior.com/ but it does bring some of it's own issues.

  1. A PWA must run on https, which means the server it connects to must also run on https, I've tried running --ssl-key /audioserve/ssl/audioserve.p12 --ssl-key-password mypass on the docker install but chrome won't let me connect to it whereas safari is less picky. Unfortunately safari on MacOS doesn't allow you to install a PWA.
  2. PWA's on IOS are currently a bit broken where audio is concerned - https://bugs.webkit.org/show_bug.cgi?id=198277 - but hopefully that will be fixed at some point, though running the app not as a PWA should work.

from audioserve.

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.