Jump to content

Music takes too long to start


ravenj

Recommended Posts

ravenj

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

babgvant

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.

Link to comment
Share on other sites

babgvant

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.

Link to comment
Share on other sites

ravenj

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

 

Tried changing the value but with no results.

Link to comment
Share on other sites

  • 2 weeks later...
babgvant

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.

Link to comment
Share on other sites

ravenj

@@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
Link to comment
Share on other sites

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...