Jump to content

Music takes too long to start


Recommended Posts

Posted

Hi,

When playing music outside my home network, it takes about 15-30sec to start or change a track. On home network it's normal <1sec.

 

This is not a server problem because I can listen to music using a browser or mobile app from outside my home network without this problem.

 

Is this happening to anyone else?

 

Best regards

theater-63592075552.txt

Posted

Can't seem to find the problem.

 

Anyone else?

Posted

It's possible that the windows direct show player needs to buffer the entire track before playing. @@babgvant is this true?

babgvant
Posted

I wouldn't think so, but it's possible that it does buffer more data because I think LAV Splitter was designed for video.

 

Let me see if there's a way to control that via the API.

babgvant
Posted

There is a setting currently implemented that may affect this.

 

Look for "NetworkStreamAnalysisDuration" in directshowplayer.xml, change it to 256 and see if that makes a difference. It looks like the default value has changed (from 1000 to 256).

 

Feel free to play with it and report if it makes a difference.

Posted

Sorry for the delay but I had no chance to test before.

 

Tried changing the value but with no results.

  • 2 weeks later...
Posted

Any suggestions to solve this issue?

babgvant
Posted

There should now be 3 settings in the config xml that you can play with:

 

MaxQueueMemSize, NetworkStreamAnalysisDuration, & MaxQueueSize

 

Lower them in a controlled way to see if it makes a difference.

Posted (edited)

@@babgvant Tried lowering all 3 and changing tracks within a queue is now normal (aprox. 1s).

 

When starting a playlist or queue it takes aprox. 30s so, no change.

Edited by Luke

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...