Giter Site home page Giter Site logo

Make a single client "master" about snapcast HOT 7 CLOSED

badaix avatar badaix commented on August 20, 2024 1
Make a single client "master"

from snapcast.

Comments (7)

s1lvester avatar s1lvester commented on August 20, 2024 1

So you want to reroute another time-signal through your already overloaded network that produces skips?

from snapcast.

pfink avatar pfink commented on August 20, 2024

Another solution would be to extend the server functionality. Then the server could act as this master client so that no additional traffic is produced.

from snapcast.

sp4ceman avatar sp4ceman commented on August 20, 2024

@s1lvester i don't know if it would add a time-signal if a main client is just sort of "playing the song" locally while the rest of the clients use the sync mechanism.

from snapcast.

vdbee avatar vdbee commented on August 20, 2024

I indeed had in mind to extend the server's functionality. I made this request because I suffered quite some stuttering during playback, also on the server side. However, I reconfigured my asound.conf to achieve playback at server side without having snapclient there. Although it did not solve the stuttering (I will try a faster SD-card), this asound.conf enables running snapcast in combination with Spotify-connect-web and Mopidy on OSMC all sharing the same USB-DAC

asound.txt

remark: it looses synchronous playback!

from snapcast.

pfink avatar pfink commented on August 20, 2024

@vdbee: But this doesn't make so much sense because you'll loose synchronicity. If you don't have the requirement to play audio synchronous, you should not use snapcast. In this case, you can use any software that supports audio streaming (e.g. pulseaudio or mpd) and it'll probably work much better than snapcast.

from snapcast.

vdbee avatar vdbee commented on August 20, 2024

@pfink: Yes, you're completely right. I renounced synchronous playback in an attempt to get rid of my stuttering issue. However, I should have made that explicit in my comment. I'll update it right away.

from snapcast.

badaix avatar badaix commented on August 20, 2024

If you "hear" the stuttering even locally then something else is going wrong. I only experience audible drops when I have problems with my WiFi connection.
At some point you always have to resync somehow. There is always some small buffer involved and soundcards that play at 48003 Hz instead of 48000 Hz, which is slowly eating up you buffer.
I could imagine to be more tolerant when to resync: when you start the snapclient manually in a shell, you will see three audio buffers and their mean deviation from the perfect sync. If they exceed certain thresholds, a resync will happen (drop packets, play faster, ...).
Maybe you can try this and if it looks "wild" instead of "smooth" you can copy paste some of the log messages here.

from snapcast.

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.