Re: Failed to publish a HLS stream via the nginx HTTPS server with ffmpeg.

2021-02-05 Thread Hongyi Zhao
On Thu, Feb 4, 2021 at 6:16 PM Francis Daly wrote: > > On Thu, Feb 04, 2021 at 10:25:08AM +0800, Hongyi Zhao wrote: > > On Thu, Feb 4, 2021 at 10:03 AM Maxim Dounin wrote: > > Hi there, > > > # Watch the stream: > > # http: > > $ ffplay http://localhost:8000/live/surveillance.m3u8 > > # https: >

Re: Failed to publish a HLS stream via the nginx HTTPS server with ffmpeg.

2021-02-04 Thread Francis Daly
On Thu, Feb 04, 2021 at 10:25:08AM +0800, Hongyi Zhao wrote: > On Thu, Feb 4, 2021 at 10:03 AM Maxim Dounin wrote: Hi there, > # Watch the stream: > # http: > $ ffplay http://localhost:8000/live/surveillance.m3u8 > # https: > $ ffplay https://localhost:8443/live/surveillance.m3u8 You report tha

Re: Failed to publish a HLS stream via the nginx HTTPS server with ffmpeg.

2021-02-03 Thread Hongyi Zhao
On Thu, Feb 4, 2021 at 10:03 AM Maxim Dounin wrote: > > Hello! > > 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 fai

Re: Failed to publish a HLS stream via the nginx HTTPS server with ffmpeg.

2021-02-03 Thread Maxim Dounin
Hello! 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://loca

Failed to publish a HLS stream via the nginx HTTPS server with ffmpeg.

2021-02-03 Thread Hongyi Zhao
Hi, On Ubuntu 20.04, I've built the docker image based my project located at . The SSL relative configuration has been enabled in the nginx.conf file used by the above docker image, see