fraho wrote: 
> If that was an answer to my problem with the AirAudio app: Do you mean
> the latency settings? I've changed that to 2000ms which is also the
> value within the app. But it has no effect, I still can't hear anything
> at all

No, not the latency, in the dev repository there is a new parameter
called "Wait for Sync" that should solve you problem, but you need to
move to the dev version. What happens is that, according to the AirPlay
protocol guide, a "1st audio packet" and "1st sync" flag should be set
when the audio controller (iTunes or your iXXXX device) restarts
playing. iTunes does that, iOS was but some 3rd party app did not. It
seems that starting version 10.2.x, iOS has stopped doing this as well.

So normally, in AirPlay, when pausing, the controller sends a "flush"
command and stops sending audio the "flush" is used to tell LMS to
pause). After a few seconds, usually, the controller teardown the
connection, but if you unpause before this couple of seconds, it starts
sending audio frames again and the 1st frame  / sync packet have this
flag set. I use this flag to detect a restart of playing and then act
accordingly with LMS. This was very important as AirPlay protocol does
NOT tell you that playing restarts, it just sends audio frames, that's
it ...

So, in iOS 10.2.x, the flag are not set anymore so I have to "guess"
that playback is restarting by just detecting that I receive audio again
after a "flush" command has been received. Unfortunately, to make that
even more painful, iOS 10.2.x has decided that during these couple of
seconds after the "flush", it will continue sending audio, but silence
frames. So this is super confusing to try to translate that for LMS.
"flush" indicates a "pause" but audio restarts immediately which means
"play". 

Long story short, when you uncheck "wait for sync", you'll have this
pause/play then couple of seconds stop thing in LMS, but it should work,
still



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=106289

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to