R
R
Roman Erchik2020-09-20 03:20:25
Nginx
Roman Erchik, 2020-09-20 03:20:25

How to set up VOD server in Nginx, m3u8 return?

Hello.

With the help ffmpeggenerated from mp4a set tsof files.

beach/
      |- playlist.m3u8
      |- 360p.m3u8
      |- 360p_001.ts
      |- 360p_002.ts
      |- 480p.m3u8
      |- 480p_001.ts
      |- 480p_002.ts
      |- 720p.m3u8
      |- 720p_001.ts
      |- 720p_002.ts
      |- 1080p.m3u8
      |- 1080p_001.ts
      |- 1080p_002.ts


I now calmly receive all these files as statics and the video plays fine.

Now I can not understand, do I need it nginx-rtmp-module? Or is tsit normal practice to give these files as static?
Hotlink protection, bandwidth limiting, I'll do it.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question