lmao you dont get it. increase the probesize and restart the stream. the end result is streams that dont restart after 20 seconds, no audio issues. here's the caveat, if you make it too big then yes it will take longer for the stream to start. also, have you not read anything about the hls issues with xtreamui? for example, the fact that any user who has more than 1 connection uses hls instead of mpegts, there is not a way to stop them from exceeding their connection limit. first you ask about best settings then you say its about ubuntu server and you run xtream ui. now you say its about smarters. you are all over the place with your confusion. spend more time reading. lots and lots of reading.
Ok. I should of been more specific. I guess. I was trying everything to fix the issue. I'm using Smarter Web Player using Xtream UI. And the reason I guess, it takes time for get the stream on demand. Its because I was using 1 conn for the web player. You need 2 conn or more per user, because Xtream UI refresh conn status disconnect each minute. So first channel comes in 10 sec (if on demand) and instant if preloaded, and when you make a second channel request under 60 seconds you have to wait until your time expired then the channel comes in.So I guess when you put 2 Conn it accelerate the process but you will have problem if you change channel and you exceed your channel limit under the 60 sec status check. Now on demand takes about 10 sec to show (depending of your probe), witch is better than before.
So if you have a heavy channel surfer. You need to set max conn to 5. So the user can choose 6 channel under a minute. Witch would I call an excesive user. For on demand.
If all your channel are preloaded, then the users will have problem because the conn status disconncet in xtream ui is reset after 1 minute. If the person wants to surf 20 channel under 1 minute, you will need 20 conn for it.
That was the issue. And I noticed this on HLS. mpegts no issue at all.
A nice fix for this, would to have an mp4 file saying on the screen to the users exceed max connection channel request under 1 Minute. So the user knows he has to wait 1 minute when exceeding conn on hls.