Answer for createHLSStream not playing

I guess part of my question is /var/www the correct path to use? That is my web root for Apache.

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.