Failed to publish a HLS stream via the nginx HTTPS server with ffmpeg.
mdounin at mdounin.ru
Thu Feb 4 02:02:55 UTC 2021
On Thu, Feb 04, 2021 at 09:17:47AM +0800, Hongyi Zhao wrote:
> As for watching the stream, I tried to use ffplay with http and https
> protocal respectively, but the former can
> successfully play the stream, the latter failed. The used commands
> are shown below:
> $ ffplay http://localhost:8000/live/surveillance.m3u8
> $ ffplay https://localhost:8000/live/surveillance.m3u8
> Any hints/notes/comments for solving this problem are highly appreciated.
You are using the same port for both http and https. This is not
certainly not going to work.
More information about the nginx