Live HLS starts buffering when the broadcast stops (encoder stop streaming)
I don't know if this is the default behaviour, but every time the encoder stop streaming, all the clients watching through HLS (both iPhone, iPad and Safari Desktop) don't seem to know that the streaming ended. It starts buffering and stays in this state forever. Clients watching through RTMP are not affected by this strange behaviour.
To better understand this, I started using a player called HLS.JS where I can see the Chunks being downloaded. And when the encoder stop streaming, I client keeps downloading the same media chucks (same sequence), like this one: