HLS is a live streaming protocol that follows a step by step live streaming process. The steps include capturing the content through devices such as microphone, camera and sending it to an encoder. The encoder further sends the content to a video hosting application through RTMP (real time messaging protocol). RTMP uses audio and video codecs for sending final video or audio content to the viewer.