Difference between revisions of "PineCube"

Jump to navigation Jump to search
Line 226: Line 226:
cd /dev/shm/hls/ && python3 -m http.server
cd /dev/shm/hls/ && python3 -m http.server
</code>
</code>
Alternatively, install a more efficient web server (<code>apt install nginx</code>) and set the server root for the default configuration to be /dev/shm/hls. This will run on port 80 rather than the python3 server which defaults to port 8000.


It should be possible to view the HLS stream directly in a web browser by visiting [http://pinecube:8000/ http://pinecube:8000/] if pinecube is the correct hostname and the name correctly resolves.
It should be possible to view the HLS stream directly in a web browser by visiting [http://pinecube:8000/ http://pinecube:8000/] if pinecube is the correct hostname and the name correctly resolves.