Subsonic 6.0 lag between songs

Need help? Post your questions here.

Moderator: moderators

Subsonic 6.0 lag between songs

Postby mfrt » Wed May 11, 2016 4:03 pm

I've noticed since upgrading to Subsonic 6.0 that there is often quite a bit of lag before songs start to play when playing remotely in a browser. I did not notice with previous versions. I am accessing my server remotely. It has a 5Mb/s upload speed, which isn't that fast, but was more that adequate before. It feels to me like the new HTML5 player is downloading the entire song before it starts to play rather than starting to play after a few seconds have buffered.

Has anyone else had this issue?
User avatar
mfrt
 
Posts: 6
Joined: Tue Jan 17, 2012 4:28 pm

Re: Subsonic 6.0 lag between songs

Postby acroyear » Wed May 11, 2016 4:55 pm

I've been using the HTML5 audio tag for SubFire for some time and how much it buffers before it sends the "canplay" event varies from browser to browser (and platform to platform). It certainly doesn't buffer the whole song, but it is really out of the hands of the developer for how much it should buffer: it just does what it does and there's nothing one can do to override.

That said, I'm not sure if the library 6.0 is using for audio playback is actually waiting for the canplay event to fire or if it is just polling via a timeout. If the latter, it should change to the former: all the desktop browsers (and IOS Safari) support canplay correctly.

I read on the 6.0 announcement thread that he's looking at potential alternative libraries that might work more efficiently through HTML5 Web Audio rather than the <audio> tag, which may help this situation.
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/
User avatar
acroyear
 
Posts: 779
Joined: Wed Mar 27, 2013 8:05 pm
Location: Northern, VA


Return to Help

Who is online

Users browsing this forum: No registered users and 35 guests