iOS HLS stream has long delay before starting

Hello,

My client is reporting a delay of up to 40 seconds when streaming HLS. My own testing using VLC has had delays of up to 20 seconds.

Is there a way to decrease this delay?

RTMP and RTSP are connecting quickly.

take care,

lee

Hi kleelof, HLS has to packetize the stream into chunks, so based on your settings this could take a few seconds per packet or 30 seconds per packet.

Here is an article showing how to modify the packetization of the chunks:

How to configure Apple HTTP Live Streaming packetization (cupertinostreaming)

Also, is your server started prior to the first IOS request for the stream?

Salvadore

Hello,

Thanks Salvadore.

You asked “Also, is your server started prior to the first IOS request for the stream?”, do you mean is the app started before the first request?(since, of course Wowza has to be running before someone can connect).

If so, the answer is yes, the app is already streaming before any IOS or other connections are made.

take care,

lee